Documentation ¶
Index ¶
- func BuildScript(hash string, hashType types.ScriptHashType, args string) *types.Script
- func NewBuildAdjustAccountPayloadBuilder() *buildAdjustAccountPayloadBuilder
- func NewDaoClaimPayloadBuilder() *daoClaimPayloadBuilder
- func NewDaoDepositPayloadBuilder() *daoDepositPayloadBuilder
- func NewDaoWithdrawPayloadBuilder() *daoWithdrawPayloadBuilder
- func NewGetBalancePayloadBuilder() *getBalancePayloadBuilder
- func NewGetGenericBlockPayloadBuilder() *getBlockInfoPayloadBuilder
- func NewSmartTransferPayloadBuilder() *smartTransferPayloadBuilder
- func NewTransferBuilder() *transferBuilder
- type BlockRange
- type BuildAdjustAccountPayload
- type DaoClaimPayload
- type DaoDepositPayload
- type DaoWithdrawPayload
- type From
- 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.ExtraType) *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 SinceConfig
- type SinceFlag
- type SinceType
- type SmartTransferPayload
- 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 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 NewSmartTransferPayloadBuilder ¶ added in v0.43.2
func NewSmartTransferPayloadBuilder() *smartTransferPayloadBuilder
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 DaoClaimPayload ¶ added in v0.101.1
type DaoDepositPayload ¶ added in v0.101.1
type DaoWithdrawPayload ¶ added in v0.101.1
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.ExtraType `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.ExtraType 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.ExtraType) *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 SinceConfig ¶ added in v0.101.1
type SmartTransferPayload ¶ added in v0.43.2
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 ¶
Click to show internal directories.
Click to hide internal directories.