Documentation ¶
Index ¶
- func BuildScript(hash string, hashType types.ScriptHashType, args string) *types.Script
- func NewBuildAdjustAccountPayloadBuilder() *buildAdjustAccountPayloadBuilder
- func NewBuildSudtIssueTransactionPayloadBuilder() *buildSudtIssueTransactionPayloadBuilder
- func NewDaoClaimPayloadBuilder() *daoClaimPayloadBuilder
- func NewDaoDepositPayloadBuilder() *daoDepositPayloadBuilder
- func NewDaoWithdrawPayloadBuilder() *daoWithdrawPayloadBuilder
- func NewGetBalancePayloadBuilder() *getBalancePayloadBuilder
- func NewGetGenericBlockPayloadBuilder() *getBlockInfoPayloadBuilder
- func NewSimpleTransferPayloadBuilder() *simpleTransferPayloadBuilder
- func NewTransferBuilder() *transferBuilder
- type BlockRange
- type BuildAdjustAccountPayload
- type BuildSudtIssueTransactionPayload
- type DaoClaimPayload
- type DaoDepositPayload
- type DaoWithdrawPayload
- type From
- type GetAccountInfoPayload
- type GetAccountInfoPayloadBuilder
- type GetBalancePayload
- type GetBlockInfoPayload
- type GetSpentTransactionPayload
- type Order
- type PaginationRequest
- type QueryTransactionsPayload
- type QueryTransactionsPayloadBuilder
- func (b *QueryTransactionsPayloadBuilder) AddAssetInfo(assetInfo *common.AssetInfo) *QueryTransactionsPayloadBuilder
- func (b *QueryTransactionsPayloadBuilder) AddBlockRange(blockRangerange *BlockRange) *QueryTransactionsPayloadBuilder
- func (b QueryTransactionsPayloadBuilder) Build() *QueryTransactionsPayload
- func (b *QueryTransactionsPayloadBuilder) SetCursor(cursor []int) *QueryTransactionsPayloadBuilder
- func (b *QueryTransactionsPayloadBuilder) SetExtra(extra *common.ExtraFilterType) *QueryTransactionsPayloadBuilder
- func (b *QueryTransactionsPayloadBuilder) SetItem(item interface{}) *QueryTransactionsPayloadBuilder
- func (b *QueryTransactionsPayloadBuilder) SetLimit(limit uint64) *QueryTransactionsPayloadBuilder
- func (b *QueryTransactionsPayloadBuilder) SetOrder(order Order) *QueryTransactionsPayloadBuilder
- func (b *QueryTransactionsPayloadBuilder) SetPageNumber(skip uint64) *QueryTransactionsPayloadBuilder
- type SearchKeyBuilder
- func (builder *SearchKeyBuilder) AddArgsLen(argsLen uint)
- func (builder *SearchKeyBuilder) AddFilterBlockRange(inclusive, exclusive uint64)
- func (builder *SearchKeyBuilder) AddFilterOutputCapacityRange(inclusive, exclusive uint64)
- func (builder *SearchKeyBuilder) AddFilterOutputDataLenRange(inclusive, exclusive uint64)
- func (builder *SearchKeyBuilder) AddFilterScript(script *types.Script)
- func (builder *SearchKeyBuilder) AddScript(script *types.Script)
- func (builder *SearchKeyBuilder) AddScriptType(scriptType indexer.ScriptType)
- func (builder *SearchKeyBuilder) Build() *indexer.SearchKey
- type SimpleTransferPayload
- type SinceConfig
- type SinceFlag
- type SinceType
- type StructureType
- type To
- type ToInfo
- type TransferPayload
- type U128
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildScript ¶ added in v0.43.0
func NewBuildAdjustAccountPayloadBuilder ¶ added in v0.101.1
func NewBuildAdjustAccountPayloadBuilder() *buildAdjustAccountPayloadBuilder
func NewBuildSudtIssueTransactionPayloadBuilder ¶ added in v0.101.1
func NewBuildSudtIssueTransactionPayloadBuilder() *buildSudtIssueTransactionPayloadBuilder
func NewDaoClaimPayloadBuilder ¶ added in v0.101.1
func NewDaoClaimPayloadBuilder() *daoClaimPayloadBuilder
func NewDaoDepositPayloadBuilder ¶ added in v0.101.1
func NewDaoDepositPayloadBuilder() *daoDepositPayloadBuilder
func NewDaoWithdrawPayloadBuilder ¶ added in v0.101.1
func NewDaoWithdrawPayloadBuilder() *daoWithdrawPayloadBuilder
func NewGetBalancePayloadBuilder ¶ added in v0.43.0
func NewGetBalancePayloadBuilder() *getBalancePayloadBuilder
func NewGetGenericBlockPayloadBuilder ¶ added in v0.43.0
func NewGetGenericBlockPayloadBuilder() *getBlockInfoPayloadBuilder
func NewSimpleTransferPayloadBuilder ¶ added in v0.101.1
func NewSimpleTransferPayloadBuilder() *simpleTransferPayloadBuilder
func NewTransferBuilder ¶ added in v0.43.0
func NewTransferBuilder() *transferBuilder
Types ¶
type BlockRange ¶ added in v0.101.1
type BuildAdjustAccountPayload ¶ added in v0.101.1
type BuildSudtIssueTransactionPayload ¶ added in v0.101.1
type BuildSudtIssueTransactionPayload struct { Owner string `json:"owner"` To *To `json:"to"` PayFee interface{} `json:"pay_fee,omitempty"` Change string `json:"change,omitempty"` FeeRate uint64 `json:"fee_rate,omitempty"` Since *SinceConfig `json:"since,omitempty"` }
type DaoClaimPayload ¶ added in v0.101.1
type DaoDepositPayload ¶ added in v0.101.1
type DaoWithdrawPayload ¶ added in v0.101.1
type GetAccountInfoPayload ¶ added in v0.101.5
type GetAccountInfoPayloadBuilder ¶ added in v0.101.5
type GetAccountInfoPayloadBuilder struct { Item interface{} `json:"item"` AssetInfo *common.AssetInfo `json:"asset_info"` }
func NewGetAccountInfoPayloadBuilder ¶ added in v0.101.5
func NewGetAccountInfoPayloadBuilder() *GetAccountInfoPayloadBuilder
func (*GetAccountInfoPayloadBuilder) AddAssetInfo ¶ added in v0.101.5
func (b *GetAccountInfoPayloadBuilder) AddAssetInfo(assetInfo *common.AssetInfo) *GetAccountInfoPayloadBuilder
func (GetAccountInfoPayloadBuilder) Build ¶ added in v0.101.5
func (b GetAccountInfoPayloadBuilder) Build() *GetAccountInfoPayload
func (*GetAccountInfoPayloadBuilder) SetItem ¶ added in v0.101.5
func (b *GetAccountInfoPayloadBuilder) SetItem(item interface{}) *GetAccountInfoPayloadBuilder
type GetBalancePayload ¶ added in v0.43.0
type GetBlockInfoPayload ¶ added in v0.43.2
type GetSpentTransactionPayload ¶ added in v0.101.1
type GetSpentTransactionPayload struct { OutPoint common.OutPoint `json:"outpoint"` StructureType StructureType `json:"structure_type"` }
type PaginationRequest ¶ added in v0.101.1
type QueryTransactionsPayload ¶ added in v0.101.1
type QueryTransactionsPayload struct { Item interface{} `json:"item"` AssetInfos []*common.AssetInfo `json:"asset_infos"` Extra *common.ExtraFilterType `json:"extra"` BlockRange *BlockRange `json:"block_range"` Pagination PaginationRequest `json:"pagination"` StructureType StructureType `json:"structure_type"` }
func (*QueryTransactionsPayload) AddAssetInfo ¶ added in v0.101.1
func (v *QueryTransactionsPayload) AddAssetInfo(assetInfo *common.AssetInfo)
type QueryTransactionsPayloadBuilder ¶ added in v0.101.1
type QueryTransactionsPayloadBuilder struct { Item interface{} AssetInfos []*common.AssetInfo Extra *common.ExtraFilterType BlockRange *BlockRange Pagination PaginationRequest StructureType StructureType }
func NewQueryTransactionsPayloadBuilder ¶ added in v0.101.1
func NewQueryTransactionsPayloadBuilder() *QueryTransactionsPayloadBuilder
func (*QueryTransactionsPayloadBuilder) AddAssetInfo ¶ added in v0.101.1
func (b *QueryTransactionsPayloadBuilder) AddAssetInfo(assetInfo *common.AssetInfo) *QueryTransactionsPayloadBuilder
func (*QueryTransactionsPayloadBuilder) AddBlockRange ¶ added in v0.101.1
func (b *QueryTransactionsPayloadBuilder) AddBlockRange(blockRangerange *BlockRange) *QueryTransactionsPayloadBuilder
func (QueryTransactionsPayloadBuilder) Build ¶ added in v0.101.1
func (b QueryTransactionsPayloadBuilder) Build() *QueryTransactionsPayload
func (*QueryTransactionsPayloadBuilder) SetCursor ¶ added in v0.101.1
func (b *QueryTransactionsPayloadBuilder) SetCursor(cursor []int) *QueryTransactionsPayloadBuilder
func (*QueryTransactionsPayloadBuilder) SetExtra ¶ added in v0.101.1
func (b *QueryTransactionsPayloadBuilder) SetExtra(extra *common.ExtraFilterType) *QueryTransactionsPayloadBuilder
func (*QueryTransactionsPayloadBuilder) SetItem ¶ added in v0.101.1
func (b *QueryTransactionsPayloadBuilder) SetItem(item interface{}) *QueryTransactionsPayloadBuilder
func (*QueryTransactionsPayloadBuilder) SetLimit ¶ added in v0.101.1
func (b *QueryTransactionsPayloadBuilder) SetLimit(limit uint64) *QueryTransactionsPayloadBuilder
func (*QueryTransactionsPayloadBuilder) SetOrder ¶ added in v0.101.1
func (b *QueryTransactionsPayloadBuilder) SetOrder(order Order) *QueryTransactionsPayloadBuilder
func (*QueryTransactionsPayloadBuilder) SetPageNumber ¶ added in v0.101.1
func (b *QueryTransactionsPayloadBuilder) SetPageNumber(skip uint64) *QueryTransactionsPayloadBuilder
type SearchKeyBuilder ¶ added in v0.43.0
type SearchKeyBuilder struct { Script *types.Script ScriptType indexer.ScriptType ArgsLen uint Filter *indexer.CellsFilter }
func (*SearchKeyBuilder) AddArgsLen ¶ added in v0.43.0
func (builder *SearchKeyBuilder) AddArgsLen(argsLen uint)
func (*SearchKeyBuilder) AddFilterBlockRange ¶ added in v0.43.0
func (builder *SearchKeyBuilder) AddFilterBlockRange(inclusive, exclusive uint64)
func (*SearchKeyBuilder) AddFilterOutputCapacityRange ¶ added in v0.43.0
func (builder *SearchKeyBuilder) AddFilterOutputCapacityRange(inclusive, exclusive uint64)
func (*SearchKeyBuilder) AddFilterOutputDataLenRange ¶ added in v0.43.0
func (builder *SearchKeyBuilder) AddFilterOutputDataLenRange(inclusive, exclusive uint64)
func (*SearchKeyBuilder) AddFilterScript ¶ added in v0.43.0
func (builder *SearchKeyBuilder) AddFilterScript(script *types.Script)
func (*SearchKeyBuilder) AddScript ¶ added in v0.43.0
func (builder *SearchKeyBuilder) AddScript(script *types.Script)
func (*SearchKeyBuilder) AddScriptType ¶ added in v0.43.0
func (builder *SearchKeyBuilder) AddScriptType(scriptType indexer.ScriptType)
func (*SearchKeyBuilder) Build ¶ added in v0.43.0
func (builder *SearchKeyBuilder) Build() *indexer.SearchKey
type SimpleTransferPayload ¶ added in v0.101.1
type SinceConfig ¶ added in v0.101.1
type StructureType ¶ added in v0.101.1
type StructureType string
const ( Native StructureType = "Native" DoubleEntry StructureType = "DoubleEntry" )
type TransferPayload ¶
type U128 ¶ added in v0.101.1
func NewU128WithBigInt ¶ added in v0.101.1
func NewU128WithString ¶ added in v0.101.1
func NewU128WithU64 ¶ added in v0.101.1
func (*U128) MarshalJSON ¶ added in v0.101.1
func (*U128) UnmarshalJSON ¶ added in v0.101.1
Source Files ¶
- adjust_account_payload.go
- build_sudt_issue_transactions.go
- dao_claim_payload.go
- dao_deposit_payload.go
- dao_withdraw_payload.go
- get_account_info_payload.go
- get_balance_payload.go
- get_block_info_payload.go
- get_spent_transaction_payload.go
- query_transactions_payload.go
- search_key_builder.go
- simple_transaction_payload.go
- transfer_payload.go
- u128.go
Click to show internal directories.
Click to hide internal directories.