Relayer Accounts
Hedera relayer account configuration and management.
Returns the list of Relayer Accounts owned by the currently authenticated user. Supports pagination and text search by account name or Hedera account ID.
The number of pages to skip before starting to collect the result set
0The numbers of items to return
20Filter by account name or Hedera account ID (case-insensitive, partial match). Leave empty to return all.
Successful operation. Returns relayer accounts array and total count in X-Total-Count header.
Unauthorized request.
Forbidden
Internal server error.
GET /api/v1/relayer-accounts HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"createDate": "2026-03-25T15:30:37.191Z",
"updateDate": "2026-03-25T15:30:37.191Z",
"name": "New Test Account",
"owner": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599",
"account": "0.0.6046500",
"username": "ExampleUser",
"_id": "69c3ff9de85d8b6ef99ef86a",
"id": "69c3ff9de85d8b6ef99ef86a"
}
]Creates a new Relayer Account by associating an existing Hedera account (account ID + private key) with the current user. The key is stored securely in the wallet.
Human-readable name for the new relayer account
My Relayer AccountHedera account ID to use as relayer
0.0.6046379Private key for the Hedera account (stored securely in wallet)
Successful operation. Returns the created relayer account.
Internal database identifier
69aeb71ef8c5b278e3bab4e5Human-readable name of the relayer account
New Test AccountUsername of the relayer account owner
ExampleUserDID of the relayer account owner
did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599DID of the parent Standard Registry (for child users)
did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599Hedera account ID of the relayer
0.0.6046379Creation date in ISO 8601 format
2026-03-03T17:25:53.312ZLast update date in ISO 8601 format
2026-03-03T17:25:53.312ZUnauthorized request.
Forbidden
Unprocessable entity.
Internal server error.
POST /api/v1/relayer-accounts HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 97
{
"name": "My Relayer Account",
"account": "0.0.6046500",
"key": "302e020100300506032b657004220420..."
}{
"createDate": "2026-03-25T15:30:37.191Z",
"updateDate": "2026-03-25T15:30:37.191Z",
"name": "New Test Account",
"owner": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599",
"account": "0.0.6046500",
"username": "ExampleUser",
"_id": "69c3ff9de85d8b6ef99ef86a",
"id": "69c3ff9de85d8b6ef99ef86a"
}Returns the default Hedera account of the active user, which is used as the relayer when no specific relayer account is selected.
Successful operation. Returns the default account info (name is always "Default").
Account name (always "Default")
DefaultOwner DID
did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599Hedera account ID
0.0.6046379Unauthorized request.
Forbidden
Internal server error.
GET /api/v1/relayer-accounts/current HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"name": "Default",
"owner": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599",
"account": "0.0.6046379"
}Returns all Relayer Accounts owned by the current user. Unlike GET /, this endpoint returns all accounts without pagination.
Successful operation.
Internal database identifier
69aeb71ef8c5b278e3bab4e5Human-readable name of the relayer account
New Test AccountUsername of the relayer account owner
ExampleUserDID of the relayer account owner
did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599DID of the parent Standard Registry (for child users)
did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599Hedera account ID of the relayer
0.0.6046379Creation date in ISO 8601 format
2026-03-03T17:25:53.312ZLast update date in ISO 8601 format
2026-03-03T17:25:53.312ZUnauthorized request.
Forbidden
Internal server error.
GET /api/v1/relayer-accounts/all HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"createDate": "2026-03-25T15:30:37.191Z",
"updateDate": "2026-03-25T15:30:37.191Z",
"name": "New Test Account",
"owner": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599",
"account": "0.0.6046500",
"username": "ExampleUser",
"_id": "69c3ff9de85d8b6ef99ef86a",
"id": "69c3ff9de85d8b6ef99ef86a"
}
]Queries the Hedera network for the current HBAR balance of the specified account. The account must belong to the current user or be a relayer account owned by them.
Hedera account ID of the relayer account
0.0.6046379Successful operation. Returns the HBAR balance as a string (e.g. "999.34 tℏ").
Unauthorized request.
Forbidden
Internal server error.
GET /api/v1/relayer-accounts/{account}/balance HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
999.33977375 tℏGenerates a new Hedera account on the network and registers it as a Relayer Account for the current user. The account is created and funded automatically.
Successful operation. Returns the generated Hedera account ID and private key. Store the key securely — it is only returned once.
Generated Hedera account ID
Private key for the generated account (hex-encoded DER)
Unauthorized request.
Forbidden
Unprocessable entity.
Internal server error.
POST /api/v1/relayer-accounts/generate HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "0.0.8384973",
"key": "302e020100300506032b6570042204202f750d1cbc05a26d8e9abb556f7be9f03e552f2d76d621639633491548434352"
}If the active user is a Standard Registry, returns the list of all users (and their relayer accounts) under this SR. Each user appears once per relayer account plus once for the default account (with null relayer fields).
The number of pages to skip before starting to collect the result set
0The numbers of items to return
20Filter by username, Hedera account ID, relayer account ID or name (case-insensitive, partial match)
Successful operation. Returns users with their relayer accounts and total count in X-Total-Count header.
Unauthorized request.
Forbidden
Internal server error.
GET /api/v1/relayer-accounts/accounts HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"_id": "69aeb71ef8c5b278e3bab4e5",
"username": "ExampleUser",
"did": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599",
"hederaAccountId": "0.0.6046379"
},
{
"_id": "69aeb71ef8c5b278e3bab4e5",
"username": "ExampleUser",
"did": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599",
"hederaAccountId": "0.0.6046379",
"relayerAccountId": "0.0.6046500",
"relayerAccountName": "New Test Account"
}
]Returns paginated VC documents that were created using the specified relayer account. Each document is enriched with policyName, policyVersion, and schemaName.
Hedera account ID of the Relayer Account (not the database ID)
0.0.6046500The number of pages to skip before starting to collect the result set
0The numbers of items to return
20Successful operation. Returns VC documents and total count in X-Total-Count header.
Unauthorized request.
Forbidden
Internal server error.
GET /api/v1/relayer-accounts/{relayerAccountId}/relationships HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"createDate": "2026-03-13T09:26:55.610Z",
"updateDate": "2026-03-13T09:27:09.653Z",
"hash": "74RwXshVfxSkWFkNhDWdHHMqHhAFMbZ6pR4sepB4pJz2",
"hederaStatus": "ISSUE",
"signature": 0,
"type": "STANDARD_REGISTRY",
"option": {
"status": "NEW"
},
"owner": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599",
"topicId": "0.0.8200599",
"messageId": "1773394029.513409000",
"document": {
"id": "urn:uuid:962aa166-7da1-4fab-ad88-6681ac55f770",
"type": [
"VerifiableCredential"
],
"issuer": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599",
"issuanceDate": "2026-03-13T09:26:55.502Z",
"@context": [
"https://www.w3.org/2018/credentials/v1",
"ipfs://bafkreihj7gclc4qgem27tre5je6a3t7tpdrk4li6oamdl6bnflwnoyfs5i"
],
"credentialSubject": [
{
"OrganizationName": "Organization name",
"Website": "https://google.com",
"Tags": "Tag",
"@context": [
"ipfs://bafkreihj7gclc4qgem27tre5je6a3t7tpdrk4li6oamdl6bnflwnoyfs5i"
],
"id": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599",
"type": "StandardRegistry"
}
],
"proof": {
"type": "Ed25519Signature2018",
"created": "2026-03-13T09:26:55Z",
"verificationMethod": "did:hedera:testnet:Cvzp5kKVUuipBCQjcF54fBjdicvaKsB8zHeQ6Qq22U2Z_0.0.8200599#did-root-key",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..Uc6RaUnv_zC4xc9j3mBqdd8Ew3z6lZITofdoJUYpxDot-fZhQEtiDjPAj5Au6UwApAfTnXy_el-uv5iOdzOyCg"
}
},
"documentFileId": "69b3d86d0b1c848021821bf9",
"tableFileIds": [],
"id": "69b3d85f0b1c848021821bf2"
}
]Last updated
Was this helpful?