Documentation ¶
Index ¶
- type AssetStatus
- type Balance
- type BlockInfo
- type BurnInfo
- type DBDriver
- type DBInfo
- type DaoInfo
- type DaoState
- type Extension
- type ExtraFilter
- type GetBalanceResponse
- type GetTransactionInfoResponse
- type MercuryInfo
- type NetworkType
- type PaginationResponseTransactionInfo
- type PaginationResponseTransactionView
- type QueryGenericTransactionsResponse
- type Record
- type RecordStatus
- type ScriptGroup
- type SignatureEntry
- type TransactionInfo
- type TransactionInfoWrapper
- type TransactionViewWrapper
- type TransferCompletionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssetStatus ¶ added in v0.43.2
type AssetStatus string
const ( Claimable AssetStatus = "Claimable" Fixed AssetStatus = "Fixed" )
type BlockInfo ¶ added in v0.101.1
type BlockInfo struct { BlockNumber uint64 `json:"block_number"` BlockHash string `json:"block_hash"` ParentHash string `json:"parent_hash"` Timestamp uint64 `json:"timestamp"` Transactions []*TransactionInfo `json:"transactions"` }
type ExtraFilter ¶ added in v0.101.1
func (*ExtraFilter) UnmarshalJSON ¶
func (e *ExtraFilter) UnmarshalJSON(bytes []byte) error
type GetBalanceResponse ¶ added in v0.43.0
type GetTransactionInfoResponse ¶ added in v0.101.1
type GetTransactionInfoResponse struct { Transaction *TransactionInfo `json:"transaction"` Status types.TransactionStatus `json:"status"` RejectReason uint8 `json:"reject_reason"` }
type MercuryInfo ¶ added in v0.101.1
type MercuryInfo struct { MercuryVersion string `json:"mercury_version"` CkbNodeVersion string `json:"ckb_node_version"` NetworkType NetworkType `json:"network_type"` EnabledExtensions []Extension `json:"enabled_extensions"` }
type NetworkType ¶ added in v0.101.1
type NetworkType string
const ( Mainnet NetworkType = "Mainnet" Testnet NetworkType = "Testnet" Staging NetworkType = "Staging" Dev NetworkType = "Dev" )
type PaginationResponseTransactionInfo ¶ added in v0.101.1
type PaginationResponseTransactionInfo struct { Response []TransactionInfoWrapper `json:"response"` Count big.Int `json:"count"` NextCursor []int `json:"next_cursor"` }
type PaginationResponseTransactionView ¶ added in v0.101.1
type PaginationResponseTransactionView struct { Response []TransactionViewWrapper `json:"response"` Count big.Int `json:"count"` NextCursor []int `json:"next_cursor"` }
type QueryGenericTransactionsResponse ¶ added in v0.43.0
type QueryGenericTransactionsResponse struct { Txs []*TransactionInfo `json:"txs"` TotalCount uint64 `json:"total_count"` NextOffset uint64 `json:"next_offset"` }
type Record ¶ added in v0.101.1
type Record struct { Id string `json:"id"` AddressOrLockHash *common.AddressOrLockHash `json:"address_or_lock_hash"` Amount *model.U128 `json:"amount"` Occupied *model.U128 `json:"occupied"` AssetInfo *common.AssetInfo `json:"asset_info"` Status RecordStatus `json:"status"` Extra ExtraFilter `json:"extra"` BlockNumber uint64 `json:"block_number"` EpochNumber []byte `json:"epoch_number"` }
type RecordStatus ¶ added in v0.101.1
type RecordStatus struct { Status AssetStatus BlockNumber uint64 }
func (*RecordStatus) UnmarshalJSON ¶
func (r *RecordStatus) UnmarshalJSON(bytes []byte) error
type ScriptGroup ¶
type ScriptGroup struct { Group []int WitnessArgs *types.WitnessArgs PubKey string }
type SignatureEntry ¶
type TransactionInfo ¶ added in v0.101.1
type TransactionInfoWrapper ¶ added in v0.101.1
type TransactionInfoWrapper struct {
TransactionInfo TransactionInfo `json:"TransactionInfo"`
}
type TransactionViewWrapper ¶ added in v0.101.1
type TransactionViewWrapper struct {
TransactionView common.TransactionWithStatus `json:"TransactionView"`
}
type TransferCompletionResponse ¶
type TransferCompletionResponse struct { TxView *transactionResp `json:"tx_view"` SigsEntry []*SignatureEntry `json:"signature_entries"` }
func (*TransferCompletionResponse) GetScriptGroup ¶
func (self *TransferCompletionResponse) GetScriptGroup() []*ScriptGroup
func (*TransferCompletionResponse) GetTransaction ¶
func (self *TransferCompletionResponse) GetTransaction() *types.Transaction
Click to show internal directories.
Click to hide internal directories.