An attestation is a signed payload that authorizes a user to mint or redeem tokens. Each attestation is only valid for a limited time and is determined by the duration in the request. A user can specify a duration of short for a tighter price spread or long for an extended validity period.
Note: There are specific user and session limits which can prevent the creation of an attestation. For more information on limits, see the Get Trading Limits endpoint.
See also: Error Codes
Request a mint or redeem attestation.
Request to mint or redeem a quantity of assets.
The chain's identifier including the chain name and chain id.
ethereum-1, bsc-56, 5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d The GM token symbol.
"AAPLon"
The direction of the trade.
buy, sell The number of tokens, represented as a string-encoded decimal with up to 18 digits after the decimal point.
"5.000000000000000000"
Specifies the desired validity period for the attestation. Users can specify a duration of 'short' for a tighter price spread or 'long' for an extended validity period.
short, long The Solana user address associated with the request. This is only required for Solana attestations.
"7YkSgYQ6x7uBv9E3n2Yh6mF5tQ1rZc8Lp4WsXjKd3Ha2"
OK
The attestation's unique identifier.
"229852750420835981756873903928305653446"
The onchain identifier for an association of wallets.
"0x474d0000000000009310097834e2c7af00000000000000000000000000000000"
The chain's identifier, only including the chain id.
"1"
The GM token symbol.
"AAPLon"
The stock ticker associated with this attestation.
"AAPL"
The contract address of the symbol.
"0x14c3abf95cb9c93a8b82c1cdcb76d72cb87b2d4c"
The direction of the trade (0 for buy, 1 for sell).
0, 1 "0"
The number of tokens to mint/redeem represented as a string with 18 decimal places.
"5000000000000000000"
The price per asset in USDon, represented as a string with up to 18 decimal places.
"225273151158540753535"
The epoch timestamp when the attestation will expire.
1746655938
The base64-encoded signature attesting to the quote.
"kMecIrsGFdoAdxzRq2bPo07FWP2QyrxWfjrSMAdIZXNq3bXQnWx27aTKyt9fJiXWrzShYemxA/0RengNqNJ6bBs="
Base64-encoded additional data to provide within the attestation.
""