Submit a signed intent
Submits a signed intent to execute.
After generating an intent via /generate-intent and having the user sign it with their wallet, submit the signed intent through this endpoint.
The system validates the signature, processes the intent, and returns the intent hash upon successful submission.
Request Type Variants:
swap_transfer: Submit a signed swap intent (requires signedData object)
Authorizations
API key for partner authentication (recommended)
Body
The type of intent action
swap_transfer Assuming wallets want to interact with Intents protocol, besides preparing the data in a certain form, they have to have the capability to sign raw messages (off-chain signatures) using an algorithm we understand. This enum solves that problem.
For example, because we support ERC-191 and know how to verify messages with that standard, we can allow wallets, like Metamask, sign messages to perform intents without having to support new cryptographic primitives and signing standards.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8