Transactions
- Overview
- Installation
- Endpoints
- Examples
Indexer
- Overview
- Installation
- Endpoints
- Examples
Indexer Gateway
Analytics
- Overview
- Endpoints
- Examples
Metadata
- Overview
- Endpoints
- Examples
Infrastructure
- Overview
- Endpoints
Builder
Marketplace
- Overview
- Endpoints
- Examples
Node Gateway
Endpoints
ListContracts
POST
/
rpc
/
Builder
/
ListContracts
curl --request POST \
--url https://api.sequence.app/rpc/Builder/ListContracts \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"projectId": 123,
"filter": {
"chainId": 123,
"contractSourceType": "LINKED",
"contractType": "<string>"
},
"page": {
"pageSize": 123,
"page": 123,
"column": "<string>",
"more": true,
"before": {},
"after": {},
"sort": [
{
"column": "<string>",
"order": "DESC"
}
]
}
}'
{
"page": {
"pageSize": 123,
"page": 123,
"column": "<string>",
"more": true,
"before": {},
"after": {},
"sort": [
{
"column": "<string>",
"order": "DESC"
}
]
},
"contracts": [
{
"id": 123,
"projectId": 123,
"contractName": "<string>",
"contractAddress": "<string>",
"contractType": "<string>",
"chainId": 123,
"source": "LINKED",
"itemsContractAddress": "<string>",
"abi": "<string>",
"bytecode": "<string>",
"bytecodeHash": "<string>",
"audienceId": 123,
"createdAt": "<string>",
"updatedAt": "<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
[]Contract
Represented as uint8 on the server side
Available options:
LINKED
, DEPLOYED
, SALE
Was this page helpful?
curl --request POST \
--url https://api.sequence.app/rpc/Builder/ListContracts \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"projectId": 123,
"filter": {
"chainId": 123,
"contractSourceType": "LINKED",
"contractType": "<string>"
},
"page": {
"pageSize": 123,
"page": 123,
"column": "<string>",
"more": true,
"before": {},
"after": {},
"sort": [
{
"column": "<string>",
"order": "DESC"
}
]
}
}'
{
"page": {
"pageSize": 123,
"page": 123,
"column": "<string>",
"more": true,
"before": {},
"after": {},
"sort": [
{
"column": "<string>",
"order": "DESC"
}
]
},
"contracts": [
{
"id": 123,
"projectId": 123,
"contractName": "<string>",
"contractAddress": "<string>",
"contractType": "<string>",
"chainId": 123,
"source": "LINKED",
"itemsContractAddress": "<string>",
"abi": "<string>",
"bytecode": "<string>",
"bytecodeHash": "<string>",
"audienceId": 123,
"createdAt": "<string>",
"updatedAt": "<string>"
}
]
}