Documentation ¶
Index ¶
- func NewRoot(searchClient pbsearch.RouterClient, dbReader trxdb.DBReader, ...) (interface{}, error)
- func S(in string) *string
- type AccountBalance
- type AccountBalanceConnection
- type AccountBalanceEdge
- type AccountBalanceOption
- type AccountBalancesRequest
- type AccountBalancesRequestSortField
- type AccountHistoryActionsConnection
- type AccounthistClient
- type Action
- type ActionReceipt
- type ActionReceiver
- type ActionTrace
- func (t *ActionTrace) Account() string
- func (t *ActionTrace) Action() *Action
- func (t *ActionTrace) Authorization() (out []*PermissionLevel)
- func (t *ActionTrace) BlockID() string
- func (t *ActionTrace) BlockNum() types.Uint64
- func (t *ActionTrace) BlockTime() graphql.Time
- func (t *ActionTrace) ClosestUnnotifiedAncestorAction() (out *ActionTrace)
- func (t *ActionTrace) Console() string
- func (t *ActionTrace) ContextFree() bool
- func (t *ActionTrace) CreatedActions(args struct{ ... }) (out []*ActionTrace)
- func (t *ActionTrace) CreatorAction() *ActionTrace
- func (t *ActionTrace) DBOps(args DBOpsArgs) (out []*DBOp)
- func (t *ActionTrace) DTrxOps() (out []*DTrxOp)
- func (t *ActionTrace) Data() *commonTypes.JSON
- func (t *ActionTrace) Elapsed() types.Int64
- func (t *ActionTrace) ExceptJSON() (*commonTypes.JSON, error)
- func (t *ActionTrace) ExecutionIndex() commonTypes.Uint32
- func (t *ActionTrace) HexData() string
- func (t *ActionTrace) InlineTraces() (out []*ActionTrace)
- func (t *ActionTrace) IsMatchingQuery() bool
- func (t *ActionTrace) IsNotify() bool
- func (t *ActionTrace) JSON() *commonTypes.JSON
- func (t *ActionTrace) Name() string
- func (t *ActionTrace) RAMOps() (out []*RAMOp)
- func (t *ActionTrace) Receipt() *ActionReceipt
- func (t *ActionTrace) Receiver() string
- func (t *ActionTrace) Seq() types.Uint64
- func (t *ActionTrace) TableOps() (out []*TableOp)
- func (t *ActionTrace) TrxID() string
- type AssetArgs
- type AssetFormat
- type Block
- func (b *Block) DposLIBNum() commonTypes.Uint32
- func (b *Block) ExecutedTransactionCount() commonTypes.Uint32
- func (b *Block) Header() *BlockHeader
- func (b *Block) ID() string
- func (b *Block) Irreversible() bool
- func (b *Block) MerkleRoot() BlockRootMerkle
- func (b *Block) Num() commonTypes.Uint32
- func (b *Block) TransactionTraces(ctx context.Context, req *TransactionTracesReq) (*TransactionTraceConnection, error)
- type BlockHeader
- func (t BlockHeader) ActionMRoot() string
- func (t BlockHeader) Confirmed() commonTypes.Uint32
- func (t BlockHeader) ID() string
- func (t BlockHeader) NewProducers() (out *ProducerSchedule, err error)
- func (t BlockHeader) Num() commonTypes.Uint32
- func (t BlockHeader) Previous() string
- func (t BlockHeader) Producer() string
- func (t BlockHeader) ScheduleVersion() commonTypes.Uint32
- func (t BlockHeader) Timestamp() graphql.Time
- func (t BlockHeader) TransactionMRoot() string
- type BlockIDAtAccountCreationArgs
- type BlockIDByTimeArgs
- type BlockIDResponse
- type BlockRef
- type BlockRootMerkle
- type DBOp
- func (o *DBOp) Key() *DBOpKey
- func (o *DBOp) NewData() *string
- func (o *DBOp) NewJSON(ctx context.Context) *DecodedObject
- func (o *DBOp) NewPayer() *string
- func (o *DBOp) OldData() *string
- func (o *DBOp) OldJSON(ctx context.Context) *DecodedObject
- func (o *DBOp) OldPayer() *string
- func (o *DBOp) Operation() string
- type DBOpKey
- type DBOpsArgs
- type DTrxOp
- func (o *DTrxOp) DelayUntil() *graphql.Time
- func (o *DTrxOp) ExpirationAt() *graphql.Time
- func (o *DTrxOp) Operation() string
- func (o *DTrxOp) Payer() *string
- func (o *DTrxOp) PublishedAt() *graphql.Time
- func (o *DTrxOp) Sender() *string
- func (o *DTrxOp) SenderID() *string
- func (o *DTrxOp) Transaction() *Transaction
- func (o *DTrxOp) TrxID() *string
- type DecodedObject
- type GetAccountHistoryActionsArgs
- type PageInfo
- type PagineableAcccountBalances
- type PagineableTokens
- type PagineableTransactionTraceRefs
- type PermissionLevel
- type ProducerKey
- type ProducerSchedule
- type QueryBlockRequest
- type RAMOp
- type Root
- func (r *Root) QueryAccountBalances(ctx context.Context, args *AccountBalancesRequest) (*AccountBalanceConnection, error)
- func (r *Root) QueryBlock(ctx context.Context, req QueryBlockRequest) (*Block, error)
- func (r *Root) QueryBlockIDAtAccountCreation(ctx context.Context, args BlockIDAtAccountCreationArgs) (*BlockIDResponse, error)
- func (r *Root) QueryBlockIDByTime(ctx context.Context, args BlockIDByTimeArgs) (*BlockIDResponse, error)
- func (r *Root) QueryGetAccountHistoryActions(ctx context.Context, args GetAccountHistoryActionsArgs) (*AccountHistoryActionsConnection, error)
- func (r *Root) QuerySearchTransactionsBackward(ctx context.Context, args SearchArgs) (*SearchTransactionsBackwardResponse, error)
- func (r *Root) QuerySearchTransactionsForward(ctx context.Context, args SearchArgs) (*SearchTransactionsForwardResponse, error)
- func (r *Root) QueryTokenBalances(ctx context.Context, args *TokenBalancesRequest) (*AccountBalanceConnection, error)
- func (r *Root) QueryTokens(ctx context.Context, args *TokensRequest) (*TokenConnection, error)
- func (r *Root) RateLimit(ctx context.Context, method string) error
- func (r *Root) SubscriptionSearchTransactionsBackward(ctx context.Context, args StreamSearchArgs) (<-chan *SearchTransactionForwardResponse, error)
- func (r *Root) SubscriptionSearchTransactionsForward(ctx context.Context, args StreamSearchArgs) (<-chan *SearchTransactionForwardResponse, error)
- type SearchArgs
- type SearchTransactionBackwardResponse
- func (t *SearchTransactionBackwardResponse) Block() *BlockHeader
- func (t *SearchTransactionBackwardResponse) Cursor() string
- func (t *SearchTransactionBackwardResponse) IrreversibleBlockNum() commonTypes.Uint32
- func (t *SearchTransactionBackwardResponse) IsIrreversible() bool
- func (t *SearchTransactionBackwardResponse) Trace() *TransactionTrace
- type SearchTransactionForwardResponse
- type SearchTransactionsBackwardResponse
- type SearchTransactionsForwardResponse
- type SimpleActionTraceEdge
- type SortOrder
- type StreamSearchArgs
- type TableOp
- type TableOpKey
- type Token
- type TokenBalancesRequest
- type TokenBalancesRequestSortField
- type TokenConnection
- type TokenEdge
- type TokensRequest
- type TokensRequestSortField
- type Transaction
- func (t *Transaction) Actions() (out []*Action)
- func (t *Transaction) ContextFreeActions() (out []*Action)
- func (t *Transaction) DelaySec() commonTypes.Uint32
- func (t *Transaction) Expiration() graphql.Time
- func (t *Transaction) MaxCPUUsageMS() commonTypes.Uint32
- func (t *Transaction) MaxNetUsageWords() commonTypes.Uint32
- func (t *Transaction) RefBlockNum() commonTypes.Uint32
- func (t *Transaction) RefBlockPrefix() commonTypes.Uint32
- type TransactionReceiptHeader
- type TransactionTrace
- func (t *TransactionTrace) Block() *BlockHeader
- func (t *TransactionTrace) Elapsed() types.Int64
- func (t *TransactionTrace) ExceptJSON() (*commonTypes.JSON, error)
- func (t *TransactionTrace) ExecutedActions() (out []*ActionTrace)
- func (t *TransactionTrace) ID() string
- func (t *TransactionTrace) MatchingActions() (out []*ActionTrace)
- func (t *TransactionTrace) NetUsage() types.Uint64
- func (t *TransactionTrace) Receipt() *TransactionReceiptHeader
- func (t *TransactionTrace) Scheduled() bool
- func (t *TransactionTrace) Status() string
- func (t *TransactionTrace) TopLevelActions() (out []*ActionTrace)
- type TransactionTraceConnection
- type TransactionTraceEdge
- type TransactionTracesReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRoot ¶
func NewRoot( searchClient pbsearch.RouterClient, dbReader trxdb.DBReader, blockMetaClient *pbblockmeta.Client, abiCodecClient pbabicodec.DecoderClient, requestRateLimiter rateLimiter.RateLimiter, tokenmetaClient pbtokenmeta.TokenMetaClient, accounthistClients *AccounthistClient, ) (interface{}, error)
Types ¶
type AccountBalance ¶
type AccountBalance struct {
// contains filtered or unexported fields
}
---------------------------- Account Balance ----------------------------
func (*AccountBalance) Account ¶
func (a *AccountBalance) Account() string
func (*AccountBalance) Amount ¶
func (a *AccountBalance) Amount() types.Uint64
func (*AccountBalance) Balance ¶
func (a *AccountBalance) Balance(args *AssetArgs) string
func (*AccountBalance) Contract ¶
func (a *AccountBalance) Contract() string
func (*AccountBalance) Precision ¶
func (a *AccountBalance) Precision() commonTypes.Uint32
func (*AccountBalance) Symbol ¶
func (a *AccountBalance) Symbol() string
type AccountBalanceConnection ¶
type AccountBalanceConnection struct { Edges []*AccountBalanceEdge PageInfo *PageInfo BlockRef *BlockRef }
--------------------------- Account Balance Connection ----------------------------
type AccountBalanceEdge ¶
type AccountBalanceEdge struct {
// contains filtered or unexported fields
}
--------------------------- Account Balance Edge ----------------------------
func (*AccountBalanceEdge) Cursor ¶
func (e *AccountBalanceEdge) Cursor() string
func (*AccountBalanceEdge) Node ¶
func (e *AccountBalanceEdge) Node() *AccountBalance
type AccountBalanceOption ¶
type AccountBalanceOption string
const (
AccountBalanceOptionEosIncludeStaked AccountBalanceOption = "EOS_INCLUDE_STAKED"
)
type AccountBalancesRequest ¶
type AccountBalancesRequest struct { Account string TokenSymbols *[]string TokenContracts *[]string Cursor *string Limit *commonTypes.Uint32 Options *[]AccountBalanceOption SortField AccountBalancesRequestSortField SortOrder SortOrder }
type AccountBalancesRequestSortField ¶
type AccountBalancesRequestSortField string
const ( AccountBalancesRequestSortFieldNone AccountBalancesRequestSortField = "NONE" AccountBalancesRequestSortFieldAlpha AccountBalancesRequestSortField = "ALPHA" AccountBalancesRequestSortFieldAmount AccountBalancesRequestSortField = "AMOUNT" )
type AccountHistoryActionsConnection ¶
type AccountHistoryActionsConnection struct { Edges []*SimpleActionTraceEdge PageInfo PageInfo }
type AccounthistClient ¶
type AccounthistClient struct { Account pbaccounthist.AccountHistoryClient AccountContract pbaccounthist.AccountContractHistoryClient }
type Action ¶
type Action struct {
// contains filtered or unexported fields
}
func (*Action) Authorization ¶
func (a *Action) Authorization() (out []*PermissionLevel)
func (*Action) Data ¶
func (a *Action) Data() *commonTypes.JSON
func (*Action) JSON ¶
func (a *Action) JSON() *commonTypes.JSON
type ActionReceipt ¶
type ActionReceipt struct {
// contains filtered or unexported fields
}
func (*ActionReceipt) ABISequence ¶
func (r *ActionReceipt) ABISequence() types.Uint64
func (*ActionReceipt) CodeSequence ¶
func (r *ActionReceipt) CodeSequence() types.Uint64
func (*ActionReceipt) Digest ¶
func (r *ActionReceipt) Digest() string
func (*ActionReceipt) GlobalSequence ¶
func (r *ActionReceipt) GlobalSequence() types.Uint64
func (*ActionReceipt) Receiver ¶
func (r *ActionReceipt) Receiver() string
func (*ActionReceipt) RecvSequence ¶
func (r *ActionReceipt) RecvSequence() types.Uint64
type ActionReceiver ¶
type ActionReceiver interface {
Recv() (*pbaccounthist.ActionResponse, error)
}
type ActionTrace ¶
type ActionTrace struct {
// contains filtered or unexported fields
}
func (*ActionTrace) Account ¶
func (t *ActionTrace) Account() string
func (*ActionTrace) Action ¶
func (t *ActionTrace) Action() *Action
func (*ActionTrace) Authorization ¶
func (t *ActionTrace) Authorization() (out []*PermissionLevel)
func (*ActionTrace) BlockID ¶
func (t *ActionTrace) BlockID() string
func (*ActionTrace) BlockNum ¶
func (t *ActionTrace) BlockNum() types.Uint64
func (*ActionTrace) BlockTime ¶
func (t *ActionTrace) BlockTime() graphql.Time
func (*ActionTrace) ClosestUnnotifiedAncestorAction ¶
func (t *ActionTrace) ClosestUnnotifiedAncestorAction() (out *ActionTrace)
func (*ActionTrace) Console ¶
func (t *ActionTrace) Console() string
func (*ActionTrace) ContextFree ¶
func (t *ActionTrace) ContextFree() bool
func (*ActionTrace) CreatedActions ¶
func (t *ActionTrace) CreatedActions(args struct{ Sort string }) (out []*ActionTrace)
func (*ActionTrace) CreatorAction ¶
func (t *ActionTrace) CreatorAction() *ActionTrace
func (*ActionTrace) DBOps ¶
func (t *ActionTrace) DBOps(args DBOpsArgs) (out []*DBOp)
func (*ActionTrace) DTrxOps ¶
func (t *ActionTrace) DTrxOps() (out []*DTrxOp)
func (*ActionTrace) Data ¶
func (t *ActionTrace) Data() *commonTypes.JSON
func (*ActionTrace) Elapsed ¶
func (t *ActionTrace) Elapsed() types.Int64
func (*ActionTrace) ExceptJSON ¶
func (t *ActionTrace) ExceptJSON() (*commonTypes.JSON, error)
func (*ActionTrace) ExecutionIndex ¶
func (t *ActionTrace) ExecutionIndex() commonTypes.Uint32
func (*ActionTrace) HexData ¶
func (t *ActionTrace) HexData() string
func (*ActionTrace) InlineTraces ¶
func (t *ActionTrace) InlineTraces() (out []*ActionTrace)
Not exposed right now. Please don't expose it.. because this parenthood is confusing and risks creating
func (*ActionTrace) IsMatchingQuery ¶
func (t *ActionTrace) IsMatchingQuery() bool
func (*ActionTrace) IsNotify ¶
func (t *ActionTrace) IsNotify() bool
func (*ActionTrace) JSON ¶
func (t *ActionTrace) JSON() *commonTypes.JSON
func (*ActionTrace) Name ¶
func (t *ActionTrace) Name() string
func (*ActionTrace) RAMOps ¶
func (t *ActionTrace) RAMOps() (out []*RAMOp)
func (*ActionTrace) Receipt ¶
func (t *ActionTrace) Receipt() *ActionReceipt
func (*ActionTrace) Receiver ¶
func (t *ActionTrace) Receiver() string
func (*ActionTrace) Seq ¶
func (t *ActionTrace) Seq() types.Uint64
func (*ActionTrace) TableOps ¶
func (t *ActionTrace) TableOps() (out []*TableOp)
func (*ActionTrace) TrxID ¶
func (t *ActionTrace) TrxID() string
type AssetArgs ¶
type AssetArgs struct {
Format AssetFormat
}
type AssetFormat ¶
type AssetFormat string
const ( AssetFormatAsset AssetFormat = "ASSET" AssetFormatInteger AssetFormat = "INTEGER" AssetFormatDecimal AssetFormat = "DECIMAL" )
type Block ¶
type Block struct {
// contains filtered or unexported fields
}
--------------------------- Block ----------------------------
func (*Block) DposLIBNum ¶
func (b *Block) DposLIBNum() commonTypes.Uint32
func (*Block) ExecutedTransactionCount ¶
func (b *Block) ExecutedTransactionCount() commonTypes.Uint32
func (*Block) Header ¶
func (b *Block) Header() *BlockHeader
func (*Block) Irreversible ¶
func (*Block) MerkleRoot ¶
func (b *Block) MerkleRoot() BlockRootMerkle
func (*Block) Num ¶
func (b *Block) Num() commonTypes.Uint32
func (*Block) TransactionTraces ¶
func (b *Block) TransactionTraces(ctx context.Context, req *TransactionTracesReq) (*TransactionTraceConnection, error)
type BlockHeader ¶
type BlockHeader struct {
// contains filtered or unexported fields
}
func (BlockHeader) ActionMRoot ¶
func (t BlockHeader) ActionMRoot() string
func (BlockHeader) Confirmed ¶
func (t BlockHeader) Confirmed() commonTypes.Uint32
func (BlockHeader) ID ¶
func (t BlockHeader) ID() string
func (BlockHeader) NewProducers ¶
func (t BlockHeader) NewProducers() (out *ProducerSchedule, err error)
func (BlockHeader) Num ¶
func (t BlockHeader) Num() commonTypes.Uint32
func (BlockHeader) Previous ¶
func (t BlockHeader) Previous() string
func (BlockHeader) Producer ¶
func (t BlockHeader) Producer() string
func (BlockHeader) ScheduleVersion ¶
func (t BlockHeader) ScheduleVersion() commonTypes.Uint32
func (BlockHeader) Timestamp ¶
func (t BlockHeader) Timestamp() graphql.Time
func (BlockHeader) TransactionMRoot ¶
func (t BlockHeader) TransactionMRoot() string
type BlockIDAtAccountCreationArgs ¶
type BlockIDAtAccountCreationArgs struct {
Account string
}
type BlockIDByTimeArgs ¶
type BlockIDResponse ¶
type BlockIDResponse struct {
// contains filtered or unexported fields
}
func (*BlockIDResponse) ID ¶
func (r *BlockIDResponse) ID() string
func (*BlockIDResponse) Num ¶
func (r *BlockIDResponse) Num() commonTypes.Uint32
func (*BlockIDResponse) Time ¶
func (r *BlockIDResponse) Time() graphql.Time
type BlockRef ¶
type BlockRef struct {
// contains filtered or unexported fields
}
---------------------------- BlockRef ----------------------------
type BlockRootMerkle ¶
type BlockRootMerkle struct {
// contains filtered or unexported fields
}
func (BlockRootMerkle) ActiveNodes ¶
func (b BlockRootMerkle) ActiveNodes() (out []string)
func (BlockRootMerkle) NodeCount ¶
func (b BlockRootMerkle) NodeCount() commonTypes.Uint32
type DTrxOp ¶
type DTrxOp struct {
// contains filtered or unexported fields
}
func (*DTrxOp) DelayUntil ¶
func (o *DTrxOp) DelayUntil() *graphql.Time
func (*DTrxOp) ExpirationAt ¶
func (o *DTrxOp) ExpirationAt() *graphql.Time
func (*DTrxOp) PublishedAt ¶
func (o *DTrxOp) PublishedAt() *graphql.Time
func (*DTrxOp) Transaction ¶
func (o *DTrxOp) Transaction() *Transaction
type DecodedObject ¶
type DecodedObject struct {
// contains filtered or unexported fields
}
func (*DecodedObject) Error ¶
func (t *DecodedObject) Error() *string
func (*DecodedObject) Object ¶
func (t *DecodedObject) Object() *commonTypes.JSON
type PagineableAcccountBalances ¶
type PagineableAcccountBalances []*pbtokenmeta.AccountBalance
func (PagineableAcccountBalances) Append ¶
func (p PagineableAcccountBalances) Append(slice dgraphql.Pagineable, index int) dgraphql.Pagineable
func (PagineableAcccountBalances) IsEqual ¶
func (p PagineableAcccountBalances) IsEqual(index int, key string) bool
func (PagineableAcccountBalances) Length ¶
func (p PagineableAcccountBalances) Length() int
type PagineableTokens ¶
type PagineableTokens []*pbtokenmeta.Token
---------------------------- EOS Token Collection ----------------------------
func (PagineableTokens) Append ¶
func (e PagineableTokens) Append(slice dgraphql.Pagineable, index int) dgraphql.Pagineable
func (PagineableTokens) Length ¶
func (e PagineableTokens) Length() int
type PagineableTransactionTraceRefs ¶
type PagineableTransactionTraceRefs [][]byte
--------------------------- Pageneable Resource ----------------------------
func (PagineableTransactionTraceRefs) Append ¶
func (p PagineableTransactionTraceRefs) Append(slice dgraphql.Pagineable, index int) dgraphql.Pagineable
func (PagineableTransactionTraceRefs) IsEqual ¶
func (p PagineableTransactionTraceRefs) IsEqual(index int, key string) bool
func (PagineableTransactionTraceRefs) Length ¶
func (p PagineableTransactionTraceRefs) Length() int
type PermissionLevel ¶
type PermissionLevel struct {
// contains filtered or unexported fields
}
func (*PermissionLevel) Actor ¶
func (t *PermissionLevel) Actor() string
func (*PermissionLevel) Permission ¶
func (t *PermissionLevel) Permission() string
type ProducerKey ¶
type ProducerKey struct {
// contains filtered or unexported fields
}
func (*ProducerKey) BlockSigningKey ¶
func (k *ProducerKey) BlockSigningKey() string
func (*ProducerKey) ProducerName ¶
func (k *ProducerKey) ProducerName() string
type ProducerSchedule ¶
type ProducerSchedule struct {
// contains filtered or unexported fields
}
func (*ProducerSchedule) Producers ¶
func (s *ProducerSchedule) Producers() (out []*ProducerKey)
func (*ProducerSchedule) Version ¶
func (s *ProducerSchedule) Version() commonTypes.Uint32
type QueryBlockRequest ¶
type QueryBlockRequest struct { Num *commonTypes.Uint32 Id *string }
type Root ¶
type Root struct {
// contains filtered or unexported fields
}
Root is the root resolver.
func (*Root) QueryAccountBalances ¶
func (r *Root) QueryAccountBalances(ctx context.Context, args *AccountBalancesRequest) (*AccountBalanceConnection, error)
func (*Root) QueryBlock ¶
func (*Root) QueryBlockIDAtAccountCreation ¶
func (r *Root) QueryBlockIDAtAccountCreation(ctx context.Context, args BlockIDAtAccountCreationArgs) (*BlockIDResponse, error)
func (*Root) QueryBlockIDByTime ¶
func (r *Root) QueryBlockIDByTime(ctx context.Context, args BlockIDByTimeArgs) (*BlockIDResponse, error)
func (*Root) QueryGetAccountHistoryActions ¶
func (r *Root) QueryGetAccountHistoryActions(ctx context.Context, args GetAccountHistoryActionsArgs) (*AccountHistoryActionsConnection, error)
func (*Root) QuerySearchTransactionsBackward ¶
func (r *Root) QuerySearchTransactionsBackward(ctx context.Context, args SearchArgs) (*SearchTransactionsBackwardResponse, error)
func (*Root) QuerySearchTransactionsForward ¶
func (r *Root) QuerySearchTransactionsForward(ctx context.Context, args SearchArgs) (*SearchTransactionsForwardResponse, error)
func (*Root) QueryTokenBalances ¶
func (r *Root) QueryTokenBalances(ctx context.Context, args *TokenBalancesRequest) (*AccountBalanceConnection, error)
func (*Root) QueryTokens ¶
func (r *Root) QueryTokens(ctx context.Context, args *TokensRequest) (*TokenConnection, error)
func (*Root) SubscriptionSearchTransactionsBackward ¶
func (r *Root) SubscriptionSearchTransactionsBackward(ctx context.Context, args StreamSearchArgs) (<-chan *SearchTransactionForwardResponse, error)
func (*Root) SubscriptionSearchTransactionsForward ¶
func (r *Root) SubscriptionSearchTransactionsForward(ctx context.Context, args StreamSearchArgs) (<-chan *SearchTransactionForwardResponse, error)
type SearchArgs ¶
type SearchArgs struct { Query string SortDesc bool LowBlockNum *types.Int64 HighBlockNum *types.Int64 Limit types.Int64 Cursor *string IrreversibleOnly bool }
CAREFUL - this mirrored in the BigQuery schema - if you change this, make sure to be backwards compatible
type SearchTransactionBackwardResponse ¶
type SearchTransactionBackwardResponse struct { //FIXME: shouldn't this be shared betweeen the two Single search responses? ResolverError error // contains filtered or unexported fields }
func (*SearchTransactionBackwardResponse) Block ¶
func (t *SearchTransactionBackwardResponse) Block() *BlockHeader
func (*SearchTransactionBackwardResponse) Cursor ¶
func (t *SearchTransactionBackwardResponse) Cursor() string
func (*SearchTransactionBackwardResponse) IrreversibleBlockNum ¶
func (t *SearchTransactionBackwardResponse) IrreversibleBlockNum() commonTypes.Uint32
func (*SearchTransactionBackwardResponse) IsIrreversible ¶
func (t *SearchTransactionBackwardResponse) IsIrreversible() bool
func (*SearchTransactionBackwardResponse) Trace ¶
func (t *SearchTransactionBackwardResponse) Trace() *TransactionTrace
type SearchTransactionForwardResponse ¶
type SearchTransactionForwardResponse struct { SearchTransactionBackwardResponse Undo bool // contains filtered or unexported fields }
Single response
func (*SearchTransactionForwardResponse) SubscriptionError ¶
func (r *SearchTransactionForwardResponse) SubscriptionError() error
type SearchTransactionsBackwardResponse ¶
type SearchTransactionsBackwardResponse struct { Results *[]*SearchTransactionBackwardResponse // contains filtered or unexported fields }
func (*SearchTransactionsBackwardResponse) Cursor ¶
func (t *SearchTransactionsBackwardResponse) Cursor() string
type SearchTransactionsForwardResponse ¶
type SearchTransactionsForwardResponse struct { Results *[]*SearchTransactionForwardResponse // contains filtered or unexported fields }
func (*SearchTransactionsForwardResponse) Cursor ¶
func (t *SearchTransactionsForwardResponse) Cursor() *string
type SimpleActionTraceEdge ¶
type SimpleActionTraceEdge struct { Cursor string Node *ActionTrace }
type StreamSearchArgs ¶
type StreamSearchArgs struct { Query string LowBlockNum *types.Int64 HighBlockNum *types.Int64 Cursor *string Limit types.Int64 IrreversibleOnly bool LiveMarkerInterval commonTypes.Uint32 }
CAREFUL - this mirrored in the BigQuery schema - if you change this, make sure to be backwards compatible
type TableOp ¶
type TableOp struct {
// contains filtered or unexported fields
}
func (*TableOp) Table ¶
func (o *TableOp) Table() *TableOpKey
type TableOpKey ¶
type TableOpKey struct {
// contains filtered or unexported fields
}
func (*TableOpKey) Code ¶
func (t *TableOpKey) Code() string
func (*TableOpKey) Scope ¶
func (t *TableOpKey) Scope(args struct{ Encoding string }) string
WARN: because of `args`, there are chances that we spin go-routines for nothing, perhaps we'll want to tweak `graphql-go` so it doesn't spin goroutines just because we have a param here. Same for DBOpKey
func (*TableOpKey) Table ¶
func (t *TableOpKey) Table() string
type Token ¶
type Token struct {
// contains filtered or unexported fields
}
---------------------------- Token ----------------------------
func (*Token) MaximumSupply ¶
func (*Token) Precision ¶
func (t *Token) Precision() commonTypes.Uint32
func (*Token) TotalSupply ¶
type TokenBalancesRequest ¶
type TokenBalancesRequest struct { Contract string Symbol string TokenHolders *[]string Cursor *string Limit *commonTypes.Uint32 Options *[]AccountBalanceOption SortField TokenBalancesRequestSortField SortOrder SortOrder }
type TokenBalancesRequestSortField ¶
type TokenBalancesRequestSortField string
const ( TokenBalancesRequestSortFieldNone TokenBalancesRequestSortField = "NONE" TokenBalancesRequestSortFieldAlpha TokenBalancesRequestSortField = "ALPHA" TokenBalancesRequestSortFieldAmount TokenBalancesRequestSortField = "AMOUNT" )
type TokenConnection ¶
--------------------------- Token Connection ----------------------------
type TokenEdge ¶
type TokenEdge struct {
// contains filtered or unexported fields
}
--------------------------- Token Edge ----------------------------
type TokensRequest ¶
type TokensRequest struct { TokenSymbols *[]string TokenContracts *[]string Cursor *string Limit *commonTypes.Uint32 SortField TokensRequestSortField SortOrder SortOrder }
type TokensRequestSortField ¶
type TokensRequestSortField string
const ( TokensRequestSortFieldNone TokensRequestSortField = "NONE" TokensRequestSortFieldAlpha TokensRequestSortField = "ALPHA" TokensRequestSortFieldHolders TokensRequestSortField = "HOLDERS" )
type Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
func (*Transaction) Actions ¶
func (t *Transaction) Actions() (out []*Action)
func (*Transaction) ContextFreeActions ¶
func (t *Transaction) ContextFreeActions() (out []*Action)
func (*Transaction) DelaySec ¶
func (t *Transaction) DelaySec() commonTypes.Uint32
func (*Transaction) Expiration ¶
func (t *Transaction) Expiration() graphql.Time
func (*Transaction) MaxCPUUsageMS ¶
func (t *Transaction) MaxCPUUsageMS() commonTypes.Uint32
func (*Transaction) MaxNetUsageWords ¶
func (t *Transaction) MaxNetUsageWords() commonTypes.Uint32
func (*Transaction) RefBlockNum ¶
func (t *Transaction) RefBlockNum() commonTypes.Uint32
func (*Transaction) RefBlockPrefix ¶
func (t *Transaction) RefBlockPrefix() commonTypes.Uint32
type TransactionReceiptHeader ¶
type TransactionReceiptHeader struct {
// contains filtered or unexported fields
}
func (*TransactionReceiptHeader) CPUUsageMicroSeconds ¶
func (h *TransactionReceiptHeader) CPUUsageMicroSeconds() commonTypes.Uint32
func (*TransactionReceiptHeader) NetUsageWords ¶
func (h *TransactionReceiptHeader) NetUsageWords() commonTypes.Uint32
func (*TransactionReceiptHeader) Status ¶
func (h *TransactionReceiptHeader) Status() string
type TransactionTrace ¶
type TransactionTrace struct {
// contains filtered or unexported fields
}
func (*TransactionTrace) Block ¶
func (t *TransactionTrace) Block() *BlockHeader
func (*TransactionTrace) Elapsed ¶
func (t *TransactionTrace) Elapsed() types.Int64
func (*TransactionTrace) ExceptJSON ¶
func (t *TransactionTrace) ExceptJSON() (*commonTypes.JSON, error)
func (*TransactionTrace) ExecutedActions ¶
func (t *TransactionTrace) ExecutedActions() (out []*ActionTrace)
func (*TransactionTrace) ID ¶
func (t *TransactionTrace) ID() string
func (*TransactionTrace) MatchingActions ¶
func (t *TransactionTrace) MatchingActions() (out []*ActionTrace)
func (*TransactionTrace) NetUsage ¶
func (t *TransactionTrace) NetUsage() types.Uint64
func (*TransactionTrace) Receipt ¶
func (t *TransactionTrace) Receipt() *TransactionReceiptHeader
func (*TransactionTrace) Scheduled ¶
func (t *TransactionTrace) Scheduled() bool
func (*TransactionTrace) Status ¶
func (t *TransactionTrace) Status() string
func (*TransactionTrace) TopLevelActions ¶
func (t *TransactionTrace) TopLevelActions() (out []*ActionTrace)
type TransactionTraceConnection ¶
type TransactionTraceConnection struct { PageInfo *PageInfo Edges []*TransactionTraceEdge }
type TransactionTraceEdge ¶
type TransactionTraceEdge struct {
// contains filtered or unexported fields
}
func (*TransactionTraceEdge) Cursor ¶
func (t *TransactionTraceEdge) Cursor() string
func (*TransactionTraceEdge) Node ¶
func (t *TransactionTraceEdge) Node() *TransactionTrace
type TransactionTracesReq ¶
type TransactionTracesReq struct { First *commonTypes.Uint32 Last *commonTypes.Uint32 Before *string After *string }