Skip to main content
GET
/
v2
/
wallets
/
{walletId}
/
offers
List all offers for a wallet
curl --request GET \
  --url https://production.hifibridge.com/v2/wallets/{walletId}/offers \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "records": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "RECEIVED",
      "amount": "<string>",
      "currency": "usdcx",
      "source": {
        "party": "<string>"
      },
      "destination": {
        "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "userWalletId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "party": "<string>"
      },
      "creationTransactionHash": "<string>",
      "executionTransactionHash": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "expiresAt": "2023-11-07T05:31:56Z"
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

walletId
string<uuid>
required

ID of the wallet

Query Parameters

limit
string

default to 10, maximum to 100

createdBefore
string<date>

ISO format: YYYY-MM-DD

createdAfter
string<date>

ISO format: YYYY-MM-DD

Response

Success

count
integer

Number of offers returned

records
object[]
nextCursor
string | null

The createdAt timestamp of the last record in the current page. Pass this as createdBefore in the next request to retrieve the next page of results. Null if there are no more records.