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
200

Contracts.

application/json
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
200

Imported contract.

application/json
createDatestring · date-timeRequired

Record creation time (from persistence layer).

Example: 2026-03-03T17:25:53.312Z
updateDatestring · date-timeRequired

Record last update time (from persistence layer).

Example: 2026-03-03T17:25:53.312Z
idstringRequiredExample: 69aeb71ef8c5b278e3bab4e5
contractIdstringRequiredExample: 0.0.6046379
descriptionstringOptionalExample: Contract description
ownerstringRequiredExample: did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599
permissionsnumberRequired

Bitmask of caller roles (values are additive): 1 = Owner, 2 = Admin, 4 = Manager (WIPE only), 8 = Wiper (WIPE v1.0.0 only). E.g. 3 = Owner+Admin (RETIRE), 7 = Owner+Admin+Manager (WIPE).

Example: 7
topicIdstringRequiredExample: 0.0.6046379
typestring · enumRequiredExample: WIPEPossible values:
syncPoolsDatestring · date-timeOptional

Last sync of retire pools (may be absent).

Example: 2026-03-03T17:25:53.312Z
lastSyncEventTimeStampstringOptional

Hedera consensus timestamp string from last processed contract event.

Example: 1773997659.461000723
syncDisabledbooleanOptional

When true, automatic sync is disabled for this contract.

Example: false
versionstringOptional

Deployed contract ABI / behavior version.

Example: 1.0.1
wipeContractIdsstring[]Optional

Legacy: linked WIPE contract Hedera ids (contract-level wiper). Often empty for version 1.0.1+; see wipeTokenIds instead.

wipeTokenIdsstring[]Optional

Token-level wiper allowlist (Hedera token ids). Typical for RETIRE contracts with version 1.0.1+; usually empty for WIPE contracts.

Example: ["0.0.8300593"]
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
200

Contract permissions.

application/json
numberOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Sync date in ISO 8601 format. The timestamp when pools were synced.

application/json
stringOptional
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
200

Successful operation.

application/json
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
200

Successful operation.

application/json
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

No content

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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation. Returns retire pool immediately flag: true — tokens are retired right away; false — retirement requires approval.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
booleanOptional
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
200

Successful operation.

application/json
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
200

Successful operation.

application/json
get
/contracts/retireIndexer

Last updated