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
ListContractSources
POST
/
rpc
/
Builder
/
ListContractSources
curl --request POST \
--url https://api.sequence.app/rpc/Builder/ListContractSources \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"projectId": 123,
"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"
}
]
},
"contractSources": [
{
"id": 123,
"uid": "<string>",
"contractType": "<string>",
"projectId": 123,
"name": "<string>",
"description": "<string>",
"author": "<string>",
"license": "<string>",
"audited": true,
"moreInfoUrl": "<string>",
"disabled": true,
"factorySourceUid": "<string>",
"abi": "<string>",
"bytecode": "<string>",
"bytecodeHash": "<string>",
"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
[]ContractSource
Was this page helpful?
curl --request POST \
--url https://api.sequence.app/rpc/Builder/ListContractSources \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"projectId": 123,
"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"
}
]
},
"contractSources": [
{
"id": 123,
"uid": "<string>",
"contractType": "<string>",
"projectId": 123,
"name": "<string>",
"description": "<string>",
"author": "<string>",
"license": "<string>",
"audited": true,
"moreInfoUrl": "<string>",
"disabled": true,
"factorySourceUid": "<string>",
"abi": "<string>",
"bytecode": "<string>",
"bytecodeHash": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
]
}