Skip to main content
Gets the Bech32m token identifier for the issuer’s token via the IssuerSparkWallet.

Method Signature

async function getIssuerTokenIdentifier(): Promise<string>;

Returns

identifier
string
required
Bech32m token identifier (eg: btkn1…)

Example

const tokenIdentifier = await issuerWallet.getIssuerTokenIdentifier();
console.log("Token identifier:", tokenIdentifier);

// Use in transfer operations
const txId = await issuerWallet.transferTokens({
  tokenIdentifier,
  tokenAmount: 1000n,
  receiverSparkAddress: "spark:recipient-address"
});