Generate an intent for signing
Generates an unsigned intent payload that needs to be signed by the user.
This endpoint takes a quote’s deposit address and other parameters, validates the quote state, and returns an intent payload formatted according to the specified signing standard (e.g., NEP413, ERC191).
The generated intent must be signed by the user’s wallet and then submitted via the /submit-intent endpoint to complete the action (e.g. swap).
Request Type Variants:
swap_transfer: Generate an intent for a swap operation (requires depositAddress, signerId, standard)
Authorizations
API key for partner authentication (recommended)
Body
The type of intent action
swap_transfer The standard used for signing the intent
nep413, erc191, raw_ed25519, webauthn, ton_connect, sep53, tip191 "nep413"
The account ID of the signer
"user.near"
The deposit address from the quote response
"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0"
Response
Successfully generated intent payload