Documentation ¶
Index ¶
- type Blockchain
- type BroadcastTransactionRequest
- func (m *BroadcastTransactionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BroadcastTransactionRequest) MarshalBinary() ([]byte, error)
- func (m *BroadcastTransactionRequest) UnmarshalBinary(b []byte) error
- func (m *BroadcastTransactionRequest) Validate(formats strfmt.Registry) error
- type BroadcastTransactionResponse
- func (m *BroadcastTransactionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BroadcastTransactionResponse) MarshalBinary() ([]byte, error)
- func (m *BroadcastTransactionResponse) UnmarshalBinary(b []byte) error
- func (m *BroadcastTransactionResponse) Validate(formats strfmt.Registry) error
- type BulkCreateWalletsRequest
- func (m *BulkCreateWalletsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BulkCreateWalletsRequest) MarshalBinary() ([]byte, error)
- func (m *BulkCreateWalletsRequest) UnmarshalBinary(b []byte) error
- func (m *BulkCreateWalletsRequest) Validate(formats strfmt.Registry) error
- type CreateWalletRequest
- type ErrorResponse
- type ErrorResponseItem
- type EstimateFeesRequest
- type JobResults
- type Log
- type RunJobRequest
- type TransactionReceiptResponse
- func (m *TransactionReceiptResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *TransactionReceiptResponse) MarshalBinary() ([]byte, error)
- func (m *TransactionReceiptResponse) UnmarshalBinary(b []byte) error
- func (m *TransactionReceiptResponse) Validate(formats strfmt.Registry) error
- type Wallet
- type WalletList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blockchain ¶
type Blockchain string
Blockchain Supported blockchain
swagger:model blockchain
const ( // BlockchainBTC captures enum value "BTC" BlockchainBTC Blockchain = "BTC" // BlockchainETH captures enum value "ETH" BlockchainETH Blockchain = "ETH" // BlockchainMATIC captures enum value "MATIC" BlockchainMATIC Blockchain = "MATIC" // BlockchainTRON captures enum value "TRON" BlockchainTRON Blockchain = "TRON" )
func (Blockchain) ContextValidate ¶
ContextValidate validates this blockchain based on context it is used
type BroadcastTransactionRequest ¶
type BroadcastTransactionRequest struct { // blockchain // Required: true Blockchain string `json:"blockchain"` // Raw hex-encoded transaction // Required: true Hex string `json:"hex"` // is test IsTest bool `json:"isTest,omitempty"` }
BroadcastTransactionRequest broadcast transaction request
swagger:model broadcastTransactionRequest
func (*BroadcastTransactionRequest) ContextValidate ¶
func (m *BroadcastTransactionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this broadcast transaction request based on context it is used
func (*BroadcastTransactionRequest) MarshalBinary ¶
func (m *BroadcastTransactionRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BroadcastTransactionRequest) UnmarshalBinary ¶
func (m *BroadcastTransactionRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BroadcastTransactionResponse ¶
type BroadcastTransactionResponse struct { // transaction hash Id TransactionHashID string `json:"transactionHashId"` }
BroadcastTransactionResponse broadcast transaction response
swagger:model broadcastTransactionResponse
func (*BroadcastTransactionResponse) ContextValidate ¶
func (m *BroadcastTransactionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this broadcast transaction response based on context it is used
func (*BroadcastTransactionResponse) MarshalBinary ¶
func (m *BroadcastTransactionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BroadcastTransactionResponse) UnmarshalBinary ¶
func (m *BroadcastTransactionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkCreateWalletsRequest ¶
type BulkCreateWalletsRequest struct { // amount // Required: true // Maximum: 32 // Minimum: 1 Amount int64 `json:"amount"` // blockchain // Required: true Blockchain *Blockchain `json:"blockchain"` }
BulkCreateWalletsRequest bulk create wallets request
swagger:model bulkCreateWalletsRequest
func (*BulkCreateWalletsRequest) ContextValidate ¶
func (m *BulkCreateWalletsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this bulk create wallets request based on the context it is used
func (*BulkCreateWalletsRequest) MarshalBinary ¶
func (m *BulkCreateWalletsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkCreateWalletsRequest) UnmarshalBinary ¶
func (m *BulkCreateWalletsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateWalletRequest ¶
type CreateWalletRequest struct { // blockchain // Required: true Blockchain *Blockchain `json:"blockchain"` }
CreateWalletRequest create wallet request
swagger:model createWalletRequest
func (*CreateWalletRequest) ContextValidate ¶
ContextValidate validate this create wallet request based on the context it is used
func (*CreateWalletRequest) MarshalBinary ¶
func (m *CreateWalletRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateWalletRequest) UnmarshalBinary ¶
func (m *CreateWalletRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorResponse ¶
type ErrorResponse struct { // Errors list Errors []*ErrorResponseItem `json:"errors"` // Error Message // Example: You are unauthenticated Message string `json:"message,omitempty"` // Error status // Example: unauthenticated Status string `json:"status,omitempty"` }
ErrorResponse error response
swagger:model ErrorResponse
func (*ErrorResponse) ContextValidate ¶
ContextValidate validate this error response based on the context it is used
func (*ErrorResponse) MarshalBinary ¶
func (m *ErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponse) UnmarshalBinary ¶
func (m *ErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorResponseItem ¶
type ErrorResponseItem struct { // Error field // Example: username Field string `json:"field,omitempty"` // Error Message // Example: You are unauthenticated Message string `json:"message,omitempty"` }
ErrorResponseItem error response item
swagger:model ErrorResponseItem
func (*ErrorResponseItem) ContextValidate ¶
ContextValidate validates this error response item based on context it is used
func (*ErrorResponseItem) MarshalBinary ¶
func (m *ErrorResponseItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponseItem) UnmarshalBinary ¶
func (m *ErrorResponseItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EstimateFeesRequest ¶
type EstimateFeesRequest struct { // ticker // Required: true Currency string `json:"currency"` // is test IsTest bool `json:"isTest,omitempty"` }
EstimateFeesRequest estimate fees request
swagger:model estimateFeesRequest
func (*EstimateFeesRequest) ContextValidate ¶
ContextValidate validates this estimate fees request based on context it is used
func (*EstimateFeesRequest) MarshalBinary ¶
func (m *EstimateFeesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EstimateFeesRequest) UnmarshalBinary ¶
func (m *EstimateFeesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type JobResults ¶
type JobResults struct { // error Error string `json:"error,omitempty"` // logs Logs []*Log `json:"logs"` }
JobResults job results
swagger:model jobResults
func (*JobResults) ContextValidate ¶
ContextValidate validate this job results based on the context it is used
func (*JobResults) MarshalBinary ¶
func (m *JobResults) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*JobResults) UnmarshalBinary ¶
func (m *JobResults) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Log ¶
type Log struct { // message Message string `json:"message,omitempty"` // metadata Metadata interface{} `json:"metadata,omitempty"` }
Log log
swagger:model log
func (*Log) ContextValidate ¶
ContextValidate validates this log based on context it is used
func (*Log) MarshalBinary ¶
MarshalBinary interface implementation
func (*Log) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RunJobRequest ¶
type RunJobRequest struct { // job // Required: true Job string `json:"job"` }
RunJobRequest run job request
swagger:model runJobRequest
func (*RunJobRequest) ContextValidate ¶
ContextValidate validates this run job request based on context it is used
func (*RunJobRequest) MarshalBinary ¶
func (m *RunJobRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RunJobRequest) UnmarshalBinary ¶
func (m *RunJobRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TransactionReceiptResponse ¶
type TransactionReceiptResponse struct { // blockchain Blockchain string `json:"blockchain"` // confirmations Confirmations int64 `json:"confirmations"` // is confirmed IsConfirmed bool `json:"isConfirmed"` // is test IsTest bool `json:"isTest"` // network fee NetworkFee string `json:"networkFee"` // network fee formatted NetworkFeeFormatted string `json:"networkFeeFormatted"` // nonce Nonce int64 `json:"nonce"` // recipient Recipient string `json:"recipient"` // sender Sender string `json:"sender"` // success Success bool `json:"success"` // transaction hash TransactionHash string `json:"transactionHash"` }
TransactionReceiptResponse transaction receipt response
swagger:model transactionReceiptResponse
func (*TransactionReceiptResponse) ContextValidate ¶
func (m *TransactionReceiptResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this transaction receipt response based on context it is used
func (*TransactionReceiptResponse) MarshalBinary ¶
func (m *TransactionReceiptResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TransactionReceiptResponse) UnmarshalBinary ¶
func (m *TransactionReceiptResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Wallet ¶
type Wallet struct { // Address // Example: 11256099 Address string `json:"address,omitempty"` // blockchain Blockchain Blockchain `json:"blockchain,omitempty"` // Created At // Example: 1656696522 CreatedAtUnix int64 `json:"createdAtUnix,omitempty"` // ID ID int64 `json:"id,omitempty"` // UUID // Example: 123e4567-e89b-12d3-a456-426655440000 UUID string `json:"uuid,omitempty"` }
Wallet wallet
swagger:model wallet
func (*Wallet) ContextValidate ¶
ContextValidate validate this wallet based on the context it is used
func (*Wallet) MarshalBinary ¶
MarshalBinary interface implementation
func (*Wallet) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type WalletList ¶
type WalletList struct { // Next pagination ID NextPageID *int64 `json:"nextPageId"` // results Results []*Wallet `json:"results"` }
WalletList wallet list
swagger:model walletList
func (*WalletList) ContextValidate ¶
ContextValidate validate this wallet list based on the context it is used
func (*WalletList) MarshalBinary ¶
func (m *WalletList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WalletList) UnmarshalBinary ¶
func (m *WalletList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- blockchain.go
- broadcast_transaction_request.go
- broadcast_transaction_response.go
- bulk_create_wallets_request.go
- create_wallet_request.go
- error_response.go
- error_response_item.go
- estimate_fees_request.go
- job_results.go
- log.go
- run_job_request.go
- transaction_receipt_response.go
- wallet.go
- wallet_list.go