Blockchain client facade.
The main entry point for all blockchain operations, composing transaction and query clients into a unified interface. This is the primary API surface exposed to SDK users.
// Query action parametersconst params = await blockchain.Action.getParams();// Simulate a transactionconst gas = await blockchain.Tx.simulate(address, [msg]);// Sign and broadcastconst result = await blockchain.Tx.signAndBroadcast( address, [msg], { amount: [{ denom: "ulume", amount: "5000" }], gas: "200000" }); Copy
// Query action parametersconst params = await blockchain.Action.getParams();// Simulate a transactionconst gas = await blockchain.Tx.simulate(address, [msg]);// Sign and broadcastconst result = await blockchain.Tx.signAndBroadcast( address, [msg], { amount: [{ denom: "ulume", amount: "5000" }], gas: "200000" });
Readonly
Action module queries (params, action records)
Supernode module queries (params)
Transaction operations (simulate, broadcast, sign)
Get the signer's address.
Returns the bech32 address of the account associated with this client.
Bech32 address
Get the chain ID.
Returns the identifier for the blockchain network (e.g., "lumera-testnet-2").
Chain ID
Blockchain client facade.
The main entry point for all blockchain operations, composing transaction and query clients into a unified interface. This is the primary API surface exposed to SDK users.
Example