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

X-Access-Key
string
header
required

Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI

Body

application/json
projectId
number
page
object

Response

200
application/json
OK
page
object
contractSources
object[]

[]ContractSource