Interface StandardLedger

Standard Ledger client (without encrypted messaging) Contains read and write operations, including signing Dependencies: crypto/sign (no Pako compression)

Use case: Most applications - wallets, payments, asset trading This is the recommended default for most use cases

interface StandardLedger {
    account: AccountApi;
    alias: AliasApi;
    asset: AssetApi;
    block: BlockApi;
    contract: ContractApi;
    message: Pick<MessageApi, "sendMessage">;
    network: NetworkApi;
    service: ChainService;
    transaction: TransactionApi;
}

Properties

account: AccountApi
alias: AliasApi
asset: AssetApi
block: BlockApi
contract: ContractApi
message: Pick<MessageApi, "sendMessage">
network: NetworkApi
service: ChainService
transaction: TransactionApi