Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
Skip to Content
API ReferenceAccount and accessTransfers

Count of pending incoming transfers

The number of transfers addressed to the org that are still pending, returned as count: the same transfers the incoming list returns. It includes transfers past their 7-day expiry that have not yet been accepted, rejected or cancelled.

Required permission

Requires the transfer.read permission. See Permissions for the roles and API key permissions that include it.

Command line

The orl CLI wraps this endpoint:

orl transfers pending-count get
GET
/v1/orgs/{orgId}/transfers/pending-count

Authorization

apiKey
headerAuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).

Path Parameters

orgId*string

Response Body

OK

application/json
  1. response
count*integer
Example Request
curl -X GET 'https://api.openrelay.inc/v1/orgs/string/transfers/pending-count'
Example Response
{  "count": 0}