Processing
Prepare a gasless deposit
Changed onPrepares a token authorization for the user to sign. Experimental.
post/deposits/permit/prepare
Request
- Base URLhttps://v1.orchestrator.rhinestone.dev/deposit-processor
- Auth
- API key in header x-api-key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-api-keystring
API key for authentication
Example:your-api-key
Request body
Example request
{
"account": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"sourceChain": "eip155:8453",
"token": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"amount": "1000000000000000000",
"owner": "0x742d35Cc6634C0532925a3b844Bc9e7595f5bE91",
"kind": "auto"
}Response
Typed data to sign, with the server-chosen nonce and deadline
Example response
{
"authorization": {
"nonce": "0x000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
"validAfter": "1000000000000000000",
"validBefore": "1000000000000000000"
}
}Changes
- info
the endpoint scheme security
internalProjectBearerwas added to the API - info
the endpoint scheme security
tenantApiKeywas added to the API - info
the
headerrequest parameterx-api-keybecame optional - info
added the non-success response with the status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info