Skip to content

Execute an Attestation

Once an attestation has been verified, it can be executed to mint or burn tokens. This guide explains how to execute an attestation using an authorized wallet.

Before you begin, ensure:

  • The attestation has been verified
  • Your wallet has permission to perform the mint or burn (e.g. MINTER_ROLE)
POST /v2/stablecoin/{stablecoinId}/attestation/{attestationId}/use
{
"signerWalletId": "{{walletId}}"
}
- signerWalletId: Wallet authorized to execute the on-chain mint or burn. This is often the same wallet that has been granted MINTER_ROLE.
use-attestation.sh
curl -X POST https://api.fsco.io/v2/stablecoin/{{stablecoinId}}/attestation/{{attestationId}}/use \
-H "Authorization: Bearer $FSCO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"signerWalletId": "{{walletId}}"
}'
use-attestation-response.json
{
"queryId": "txn_abc123456"
}
A successful response indicates the on-chain mint or burn transaction has been submitted. You can track the result via the transaction hash in the attestation metadata or by querying the chain.