Last updated 2 months ago
hash of the checkpoint to lookup
Instructions supported by mint token
Create a new mint token. After the token is created, the master_authority of the token is initialized with the signer of the message.
master_authority
Refer to TokenInstruction::CreateNewToken.
TokenInstruction::CreateNewToken
Transfer tokens from one account to another. The signer of message must be the owner of the source account. Otherwise the transaction may fail.
Refer to TokenInstruction::Transfer.
TokenInstruction::Transfer
Grant authority to another account. The signer of message must be the Mint's master_authority. Otherwise the transaction may fail.
Refer to TokenInstruction::GrantAuthority.
TokenInstruction::GrantAuthority
Revoke authority to another account. The signer of message must be the Mint's master_authority. Otherwise the transaction may fail.
Refer to TokenInstruction::RevokeAuthority.
TokenInstruction::RevokeAuthority
Add the account to the blacklisted accounts. The signer of message must be the Mint's blacklist_authority. Otherwise the transaction may fail.
blacklist_authority
Refer to TokenInstruction::BlacklistAccount.
TokenInstruction::BlacklistAccount
Whitelist the a previously blacklisted account. The signer of message must be the Mint's blacklist_authority. Otherwise the transaction may fail.
Refer to TokenInstruction::WhitelistAccount.
TokenInstruction::WhitelistAccount
Mints new tokens to an account. The signer of the message must be Mint's mint_authority. Otherwise the transaction may fail.
mint_authority
Refer to TokenInstruction::MintTo.
TokenInstruction::MintTo
Burns tokens by removing them from an account. The signer of the message must be Mint's mint_burn authority. Otherwise the transaction may fail.
mint_burn
Refer to TokenInstruction::BurnFromAccount.
TokenInstruction::BurnFromAccount
Close an account. Note that an account can be closed only if the token balance is zero.
Refer to TokenInstruction::CloseAccount.
TokenInstruction::CloseAccount
Pause all transactions associated with the Mint. The signer of the message must be the Mint's pause_authority. Otherwise the transaction may fail.
pause_authority
Refer to TokenInstruction::Pause.
TokenInstruction::Pause
Unpause transactions for the Mint. The signer of the message must be the Mint's pause_authority. Otherwise the transaction may fail.
Refer to TokenInstruction::Unpause.
TokenInstruction::Unpause
Update token metadata. The signer of the message must be the Mint's metadata_update_authority. Otherwise the transaction may fail.
metadata_update_authority
Refer to TokenInstruction::UpdateMetadata.
TokenInstruction::UpdateMetadata
Raw transaction data, all unsupported instructions are encoded as raw data.
This variant is used for all instructions that are not supported by the current version of the RPC. Just for compatibility.
GET /v1/transactions/by_hash HTTP/1.1 Host: api.testnet.1money.network Accept: */*
{ "data": { "decimals": "18", "master_authority": "0x9E1E9688A44D058fF181Ed64ddFAFbBE5CC742Ab", "symbol": "USDX" }, "transaction_type": "TokenCreate", "chain_id": "21210", "checkpoint_hash": "0xf55f9525be94633b56f954d3252d52b8ef42f5fd5f9491b243708471c15cc40c", "checkpoint_number": "10", "fee": "10", "from": "0x9E1E9688A44D058fF181Ed64ddFAFbBE5CC742Ab", "hash": "0xf55f9525be94633b56f954d3252d52b8ef42f5fd5f9491b243708471c15cc40c", "nonce": "10", "signature": { "r": "72956732934625920503481762689501378577921804342307439094906376029324416116949", "s": "29902520081700531224291681396692026253288382272435451874524203378285409371412", "v": "1" }, "transaction_index": "10" }