gill
@gillsdk/react/Functions

useTokenMint

function useTokenMint<TConfig, TAddress>(__namedParameters): 
  | {
  account: {
     exists: true;
  };
}
  | {
  account: {
     exists: true;
  };
}
  | {
  account: {
     exists: true;
  };
}
  | {
  account: {
     exists: true;
  };
}
  | {
  account: {
     exists: true;
  };
};

Get and parse a token's Mint account

Type Parameters

Type ParameterDefault type
TConfig extends { }{ }
TAddress extends stringstring

Parameters

ParameterType
__namedParametersUseTokenMintInput<TConfig, TAddress>

Returns

| { account: { exists: true; }; } | { account: { exists: true; }; } | { account: { exists: true; }; } | { account: { exists: true; }; } | { account: { exists: true; }; }

On this page