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
GetContract
POST
/
rpc
/
Builder
/
GetContract
curl --request POST \
--url https://api.sequence.app/rpc/Builder/GetContract \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"id": 123
}'
{
"contract": {
"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
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/GetContract \
--header 'Content-Type: application/json' \
--header 'X-Access-Key: <api-key>' \
--data '{
"id": 123
}'
{
"contract": {
"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>"
}
}