Skip to content

Query Juno balance #4

@Highlander-maker

Description

@Highlander-maker

i need to implement a function that can read the balance of juno in a connected wallet. This can then determine a specific balance that allows users to upload contract.

currently need this implemented. Any idea how to do it @giansalex ?

https://github.com/CosmWasm/cw-plus/blob/main/contracts/cw20-base/helpers.ts#L179

// queries
balance: (address?: string) => Promise
allowance: (owner: string, spender: string) => Promise
allAllowances: (owner: string, startAfter?: string, limit?: number) => Promise
allAccounts: (startAfter?: string, limit?: number) => Promise<readonly string[]>
tokenInfo: () => Promise
minter: () => Promise

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions