// Please refer @solana/web3 for fetch account data
// https://solana-labs.github.io/solana-web3.js/class/src/connection.js~Connection.html#instance-method-getAccountInfo
const { data } = await connection.getAccountInfo(mintPublicKey)
{ key: "mint_authority_option", type: "u32" },
{ key: "mint_authority", type: "pub" },
{ key: "supply", type: "u64" },
{ key: "decimals", type: "u8" },
{ key: "is_initialized", type: "bool" },
{ key: "freeze_authority_option", type: "u32" },
{ key: "freeze_authority", type: "pub" },
const mintLayout = new soproxABI.struct(schema.MINT_SCHEMA);
const readableData = mintLayout.fromBuffer(data);