createWallet | None | "code": string "address key": string | This method is used to create new wallet. It returns “code” which is a secret phrase and “address key” which is public address of the wallet |
importWallet | code: string | "address key": string | This method is used to import wallet from mnemonic/secret phrase. It returns “address key” which is public address of the wallet |
airdrop | code: string amount: number | None | This method is used to add coins in the wallet. |
getBalance | address: string | balance: Integer | This method is used to get available balance of any address. It returns integer |
transfer | code: string recipient_address: string amount: number | None | This method is used to transfer fund from one account to another. It returns Nothing |
getSentEvents | address: string | Click Here | This method is used to fetch sent events done by the wallet. Please hit the url given in the returns field to see what it return |
getReceivedEvents | address: string | Click Here | This method is used to fetch received events to the wallet. Please hit the url given in the returns field to see what it return |
createNFTCollection | code: string name: string description: string uri: string | hash: string | This method is used to create collection inside the wallet/account. It returns submission hash |
createNFT | code: string collection_name: string name: string description: string supply: number uri: string | hash: string | This method is used to create nft inside collection. It returns submission hash |
offerNFT | code: string receiver_address: string creator_address: string collection_name: string token_name: string amount: number | hash: string | This method is used to offer nft to another address. |
claimNFT | code: string sender_address: string creator_address: string collection_name: string token_name: string | hash: string | This method is used to claim nft offered |
getEventStream | address: string event_handle_struct: string field_name: string | response: object | This is used to get the events |
getTokenIds | address: string | tokenIds: list of objects | This is used to get the token IDs of an account |
getEventStream | address: string | tokens: list of objects | This is used to get the tokens of an account |
rotateAuthKey | code: string new_auth_key: string | hash: string | This method is used to rotate the authentication key. The new private/ public key pair used to derive the new auth key will be used to sign the account after this function call completes |