POST
/
admin
/
contract
/
authorizeWithFunctionSignatures
curl --request POST \
  --url https://api.syndicate.io/admin/contract/authorizeWithFunctionSignatures \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "chainId": 123,
  "address": "<string>",
  "name": "<string>",
  "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "expiresAt": "2023-11-07T05:31:56Z",
  "functionSignatures": [
    "<string>"
  ]
}'
{
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "chainId": 80001,
  "address": "0x94f6E9c420Db1566A3c035Df291F206eBfAfC762",
  "name": "My Contract",
  "expiresAt": "2023-11-07T05:31:56Z",
  "functionSignatures": [
    {
      "id": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "signature": "<string>",
      "functionAbi": "<any>",
      "hashedSignature": "<string>",
      "contractId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "payable": true
    }
  ],
  "projectId": "638d1d78-d63d-4cda-9f1e-4d0799acfeee",
  "claimedByOrganizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

API Endpoint

https://api.syndicate.io/admin/contract/authorizeWithFunctionSignatures

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
chainId
integer
required
address
string
required
name
string
required
projectId
string
required
expiresAt
string | null
functionSignatures
string[]
required

Response

200 - application/json
id
string
required
createdAt
string
required
updatedAt
string | null
chainId
integer
required
address
string
required
name
string
required
expiresAt
string | null
functionSignatures
object[]
required
projectId
string
required
claimedByOrganizationId
string | null