useAccount
Hook to retrieve account data with optional arguments to invoke given function on connect/disconnect.
useActiveChainCurrency
hook to retrieve specific connected chains currency
useActiveChainIds
hook to retrieve connected account's active chainIds
useActiveChains
hook to retrieve connected account's active ChainInfos
useActiveWalletType
hook to retrieve current active WalletType
useAddChain
Hook to add a new chain to graz's internal store without suggesting it to the wallet.
useBalance
Hook to retrieve a specific asset balance for a specific chain and address using client.getBalance(). Returns a single Coin | undefined.
useBalanceStaked
Hook to retrieve staked balance for a specific chain and address. Returns a single Coin, or null when the address has no staked balance.
useBalances
Hook to retrieve all balances for a specific chain and address. Returns an array of Coin[].
useChainInfo
hook to retrieve ChainInfo object from GrazProvider with given chainId
useChainInfos
Hook to retrieve ChainInfo objects from GrazProvider. Can optionally filter by chainId array.
useCheckWallet
Hook to check whether given WalletType or default configured wallet is supported
useConnect
Mutation hook to execute wallet connection with optional arguments to invoke given functions on error, loading, or success event
useCosmWasmClient
Hook to retrieve a CosmWasmClient. Returns clients in a Record format.
useCosmWasmSigningClient
Hook to retrieve a SigningCosmWasmClient. Returns signing clients in a Record format.
useDisconnect
Mutation hook to execute wallet disconnection with optional arguments to invoke given functions on error, loading, or success event.
useExecuteContract
Mutation hook for executing transactions against a CosmWasm smart contract.
useInstantiateContract
Mutation hook to instantiate a CosmWasm smart contract.
useOfflineSigners
Hook to retrieve offline signer objects (default, amino enabled, and auto). Returns signers in a Record format.
useQueryRaw
Query hook for dispatching a "raw" query to a CosmWasm smart contract's storage.
useQuerySmart
Query hook for dispatching a "smart" query to a CosmWasm smart contract.
useRecentChainIds
hook to retrieve last connected chainIds
useRecentChains
hook to retrieve last connected ChainInfos
useSendIbcTokens
Mutation hook to send IBC tokens and returns @cosmjs/stargate's DeliverTxResponse.
useSendTokens
Mutation hook to send tokens and returns @cosmjs/stargate's DeliverTxResponse.
useSignAndBroadcast
Mutation hook to sign and broadcast arbitrary encoded Cosmos messages with a SigningStargateClient.
useSignArbitrary
Mutation hook to sign arbitrary messages with the active wallet's ADR-36-compatible signing API.
useStargateClient
Hook to retrieve a StargateClient. Returns clients in a Record format.
useStargateSigningClient
Hook to retrieve a SigningStargateClient. Returns signing clients in a Record format.
useSuggestChain
Mutation hook for suggesting a chain to a wallet
useSuggestChainAndConnect
mutation hook for Suggesting a chain and connect to a wallet in one hook.
useVerifyArbitrary
Mutation hook to verify arbitrary message signatures with the active wallet's ADR-36-compatible verification API.