Indexer
- Overview
- Installation
- Endpoints
- Examples
Indexer Gateway
Analytics
- Overview
- Endpoints
- Examples
Metadata
- Overview
- Endpoints
- Examples
Infrastructure
- Overview
- Endpoints
Builder
- Overview
- Endpoints
Marketplace
- Overview
- Endpoints
Transactions
- Overview
- Installation
- Endpoints
- Examples
Blockchain RPC
Endpoints
FeeOptions
POST
/
rpc
/
Relayer
/
FeeOptions
curl --request POST \
--url https://amoy-relayer.sequence.app/rpc/Relayer/FeeOptions \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"wallet": "<string>",
"to": "<string>",
"data": "<string>",
"simulate": true
}'
{
"options": [
{
"token": {
"chainId": 123,
"name": "<string>",
"symbol": "<string>",
"type": "UNKNOWN",
"decimals": 123,
"logoURL": "<string>",
"contractAddress": "<string>",
"tokenID": "<string>"
},
"to": "<string>",
"value": "<string>",
"gasLimit": 123
}
],
"sponsored": true,
"quote": "<string>"
}
Authorizations
Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI
Body
application/json
Response
200
application/json
OK
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://amoy-relayer.sequence.app/rpc/Relayer/FeeOptions \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"wallet": "<string>",
"to": "<string>",
"data": "<string>",
"simulate": true
}'
{
"options": [
{
"token": {
"chainId": 123,
"name": "<string>",
"symbol": "<string>",
"type": "UNKNOWN",
"decimals": 123,
"logoURL": "<string>",
"contractAddress": "<string>",
"tokenID": "<string>"
},
"to": "<string>",
"value": "<string>",
"gasLimit": 123
}
],
"sponsored": true,
"quote": "<string>"
}