Versions in this module Expand all Collapse all v0 v0.4.0 Apr 4, 2024 v0.3.0 Feb 28, 2024 Changes in this version + type Observability interface + TracerProvider func() trace.TracerProvider + type TokenBackend struct + func New(abAddr url.URL, observe Observability) *TokenBackend + func (tb *TokenBackend) GetFeeCreditBill(ctx context.Context, unitID types.UnitID) (*sdk.Bill, error) + func (tb *TokenBackend) GetInfo(ctx context.Context) (*sdk.InfoResponse, error) + func (tb *TokenBackend) GetRoundNumber(ctx context.Context) (*sdk.RoundNumber, error) + func (tb *TokenBackend) GetToken(ctx context.Context, id backend.TokenID) (*backend.TokenUnit, error) + func (tb *TokenBackend) GetTokenTypes(ctx context.Context, kind backend.Kind, creator sdk.PubKey, offset string, ...) ([]*backend.TokenUnitType, string, error) + func (tb *TokenBackend) GetTokens(ctx context.Context, kind backend.Kind, owner sdk.PubKey, offset string, ...) ([]*backend.TokenUnit, string, error) + func (tb *TokenBackend) GetTxProof(ctx context.Context, unitID types.UnitID, txHash sdk.TxHash) (*sdk.Proof, error) + func (tb *TokenBackend) GetTypeHierarchy(ctx context.Context, id backend.TokenTypeID) ([]*backend.TokenUnitType, error) + func (tb *TokenBackend) PostTransactions(ctx context.Context, pubKey sdk.PubKey, txs *sdk.Transactions) error