Mintbase wallet constructor. Creates an instance of a Mintbase wallet.
the wallet instance
Make an offer to a token.
List an item for sale in the market.
The token id list.
The token store id (contract name).
The listing price.
Make an offer to multiple tokens.
Burn one or more tokens from the same contract.
An array containing token ids to be burnt.
Creates a connection to a NEAR smart contract
wallet connection properties - the config to create a connection with
Connects to a wallet stored on local storage.
the account identifier to connect.
whether connection was successful or not.
Creates a store
Store name
Store symbol
Fetches connected account details.
details of the current connection.
Disconnects user. Removes the LocalStorage entry that represents an authorized wallet account but leaves private keys intact.
Fetch transaction result given a transaction hash.
the transaction's hash
the transaction result
Fetch local storage connections
Get NEAR configuration object. Defaults to testnet.
List an item for sale in the market.
The token id.
The token store id (contract name).
The listing price.
Make an offer to a token from a group.
Make an offer to a token.
Mint a token
The number of tokens to mint.
The contract in which tokens will be minted.
Mint more pieces of tokens of a thing.
The number of tokens to mint.
The thing id
The contract in which tokens will be minted.
Transfer one token.
The token id to transfer.
The account id to transfer to.
The contract name to transfer tokens from.
Fetch a transaction status.
The transactions' hash.
The account who initiated the transation. TODO: Might not be really necessary to pass this.
The transaction result
Fetch transaction status with all receipts.
The transactions' hash.
The account who initiated the transation. TODO: Might not be really necessary to pass this.
The transaction result with all receipts.
Transfer one or more tokens.
The mapping of transfers, defined by: [[accountName1, tokenId1], [accountName2, tokenId2]]
The contract name to transfer tokens from.
Transfers ownership of a store
Fetch access key information
account id
public key
Access Key information
Fetch list of access keys for a given account
account id
List of access keys
Withdraw the escrow deposited for an offer.
The token key. <tokenId>:<contractName>
Generated using TypeDoc
Mintbase Wallet. Main entry point for users to sign and interact with NEAR and Mintbase infrastructure.