For the complete documentation index, see llms.txt. This page is also available as Markdown.

Contracts

Return a list of all contracts.

get

Returns all contracts.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
typestring · enumRequired

Contract type

Possible values:
pageIndexnumberOptional

The number of pages to skip before starting to collect the result set

Example: 0
pageSizenumberRequired

The numbers of items to return

Example: 20
Responses
get
/contracts

Create contract.

post

Create smart-contract. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
typestring · enumRequiredExample: WIPEPossible values:
descriptionstringRequiredExample: Contract description
Responses
post
/contracts

Import contract.

post

Import smart-contract. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
contractIdstringRequired

Hedera contract identifier

Example: 0.0.6046379
descriptionstringOptional

Contract description

Responses
post
/contracts/import

Get contract permissions.

get

Get smart-contract permissions. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Contract Identifier

Example: 652745597a7b53526de37c05
Responses
get
/contracts/{contractId}/permissions

Remove contract.

delete

Remove smart-contract. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Contract Identifier

Example: 652745597a7b53526de37c05
Responses
delete
/contracts/{contractId}

Return a list of all wipe requests.

get

Returns all wipe requests. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
contractIdstringRequired

Contract identifier

Example: 0.0.1
pageIndexnumberOptional

The number of pages to skip before starting to collect the result set

Example: 0
pageSizenumberRequired

The numbers of items to return

Example: 20
Responses
get
/contracts/wipe/requests

Enable wipe requests.

post

Enable wipe contract requests. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Wipe Contract Identifier

Example: 652745597a7b53526de37c05
Responses
post
/contracts/wipe/{contractId}/requests/enable

Disable wipe requests.

post

Disable wipe contract requests. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Wipe Contract Identifier

Example: 652745597a7b53526de37c05
Responses
post
/contracts/wipe/{contractId}/requests/disable

Approve wipe request.

post

Approve wipe contract request. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
requestIdstringRequired

Request identifier

Example: 652745597a7b53526de37c05
Responses
post
/contracts/wipe/requests/{requestId}/approve

Reject wipe request.

delete

Reject wipe contract request. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
requestIdstringRequired

Request identifier

Example: 652745597a7b53526de37c05
Query parameters
banbooleanOptional

Reject and ban

Example: true
Responses
delete
/contracts/wipe/requests/{requestId}/reject

Clear wipe requests.

delete

Clear wipe contract requests. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Wipe Contract Identifier

Example: 652745597a7b53526de37c05
Responses
delete
/contracts/wipe/{contractId}/requests

Clear wipe requests for hedera account.

delete

Clear wipe contract requests for specific hedera account. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Contract identifier

Example: 652745597a7b53526de37c05
hederaIdstringRequired

Hedera account identifier

Example: 0.0.1
Responses
delete
/contracts/wipe/{contractId}/requests/{hederaId}

Add wipe admin.

post

Add wipe contract admin. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Contract identifier

Example: 652745597a7b53526de37c05
hederaIdstringRequired

Hedera account identifier

Example: 0.0.1
Responses
post
/contracts/wipe/{contractId}/admin/{hederaId}

Remove wipe admin.

delete

Remove wipe contract admin. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Contract identifier

Example: 652745597a7b53526de37c05
hederaIdstringRequired

Hedera account identifier

Example: 0.0.1
Responses
delete
/contracts/wipe/{contractId}/admin/{hederaId}

Add wipe manager.

post

Add wipe contract manager. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Contract identifier

Example: 652745597a7b53526de37c05
hederaIdstringRequired

Hedera account identifier

Example: 0.0.1
Responses
post
/contracts/wipe/{contractId}/manager/{hederaId}

Remove wipe manager.

delete

Remove wipe contract manager. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Contract identifier

Example: 652745597a7b53526de37c05
hederaIdstringRequired

Hedera account identifier

Example: 0.0.1
Responses
delete
/contracts/wipe/{contractId}/manager/{hederaId}

Add wipe wiper.

post

Add wipe contract wiper. For Wipe contracts v1.0.0 only. For v1.0.1+ use the endpoint with tokenId. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Wipe Contract Identifier

Example: 652745597a7b53526de37c05
hederaIdstringRequired

Hedera account identifier

Example: 0.0.1
Responses
post
/contracts/wipe/{contractId}/wiper/{hederaId}

Remove wipe wiper.

delete

Remove wipe contract wiper. For Wipe contracts v1.0.0 only. For v1.0.1+ use the endpoint with tokenId. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Wipe Contract Identifier

Example: 652745597a7b53526de37c05
hederaIdstringRequired

Hedera account identifier

Example: 0.0.1
Responses
delete
/contracts/wipe/{contractId}/wiper/{hederaId}

Add wipe wiper for token.

post

Add wipe contract wiper for specific token. For Wipe contracts v1.0.1+ only. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Wipe Contract Identifier

Example: 652745597a7b53526de37c05
hederaIdstringRequired

Hedera account identifier

Example: 0.0.1
tokenIdstringRequired

Token identifier

Example: 0.0.1
Responses
post
/contracts/wipe/{contractId}/wiper/{hederaId}/{tokenId}

Remove wipe wiper for token.

delete

Remove wipe contract wiper for specific token. For Wipe contracts v1.0.1+ only. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Wipe Contract Identifier

Example: 652745597a7b53526de37c05
hederaIdstringRequired

Hedera account identifier

Example: 0.0.1
tokenIdstringRequired

Token identifier. The token the wiper was allowed to wipe.

Example: 0.0.1
Responses
delete
/contracts/wipe/{contractId}/wiper/{hederaId}/{tokenId}

Sync retire pools.

post

Sync retire contract pools. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Contract identifier

Example: 652745597a7b53526de37c05
Responses
post
/contracts/retire/{contractId}/pools/sync

Return a list of all retire requests.

get

Returns all retire requests.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
contractIdstringRequired

Contract identifier

Example: 0.0.1
pageIndexnumberOptional

The number of pages to skip before starting to collect the result set

Example: 0
pageSizenumberRequired

The numbers of items to return

Example: 20
Responses
get
/contracts/retire/requests

Return a list of all retire pools.

get

Returns all retire pools.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
contractIdstringRequired

Contract identifier

Example: 0.0.6046379
tokensstringRequired

Comma-separated token IDs. No spaces between tokens.

Example: 0.0.1,0.0.2,0.0.3
pageIndexnumberOptional

The number of pages to skip before starting to collect the result set

Example: 0
pageSizenumberRequired

The numbers of items to return

Example: 20
Responses
get
/contracts/retire/pools

Clear retire requests.

delete

Clear retire contract requests. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Contract identifier

Example: 652745597a7b53526de37c05
Responses
delete
/contracts/retire/{contractId}/requests

Set retire pool.

post

Set retire contract pool. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Contract identifier

Example: 652745597a7b53526de37c05
Body
tokenstringRequired
countnumberRequired
Responses
post
/contracts/retire/{contractId}/pools

No content

Clear retire pools.

delete

Clear retire contract pools. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Contract identifier

Example: 652745597a7b53526de37c05
Responses
delete
/contracts/retire/{contractId}/pools

Unset retire pool.

delete

Unset retire contract pool. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
poolIdstringRequired

Pool Identifier

Example: 652745597a7b53526de37c05
Responses
delete
/contracts/retire/pools/{poolId}

Unset retire request.

delete

Unset retire contract request. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
requestIdstringRequired

Request Identifier

Example: 652745597a7b53526de37c05
Responses
delete
/contracts/retire/requests/{requestId}

Retire tokens.

post

Retire tokens.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
poolIdstringRequired

Pool Identifier

Example: 652745597a7b53526de37c05
Bodyone of[]
or
Responses
post
/contracts/retire/pools/{poolId}/retire

No content

Approve retire request.

post

Approve retire contract request. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
requestIdstringRequired

Request identifier

Example: 652745597a7b53526de37c05
Responses
post
/contracts/retire/requests/{requestId}/approve

Cancel retire request.

delete

Cancel retire contract request. Intended for regular users (not Standard Registry) to cancel their own retire request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
requestIdstringRequired

Request identifier

Example: 652745597a7b53526de37c05
Responses
delete
/contracts/retire/requests/{requestId}/cancel

Add retire admin.

post

Add retire contract admin. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Contract identifier

Example: 652745597a7b53526de37c05
hederaIdstringRequired

Hedera account identifier

Example: 0.0.1
Responses
post
/contracts/retire/{contractId}/admin/{hederaId}

Remove retire admin.

delete

Remove retire contract admin. Only users with the Standard Registry role are allowed to make the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contractIdstringRequired

Contract identifier

Example: 652745597a7b53526de37c05
hederaIdstringRequired

Hedera account identifier

Example: 0.0.1
Responses
delete
/contracts/retire/{contractId}/admin/{hederaId}

Return a list of all retire vcs.

get

Returns all retire vcs.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
pageIndexnumberOptional

The number of pages to skip before starting to collect the result set

Example: 0
pageSizenumberRequired

The numbers of items to return

Example: 20
Responses
get
/contracts/retire

Return a list of all retire vcs from Indexer.

get

Returns all retire vcs from Indexer.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
contractTopicIdstringRequired

The topic id of contract

Example: 0.0.4641052
Responses
get
/contracts/retireIndexer

Last updated