Skip to main content
GET
List lend positions

Authorizations

Authorization
string
header
required

A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.

Query Parameters

address
string
required

The 0x-prefixed address of the EVM account or EVM Smart Account to list lend positions for.

Pattern: ^0x[0-9a-fA-F]{40}$
vaultIds
string[]

Filter positions to these project-owned vaults. Provide 1 to 100 unique, comma-separated vault IDs. Omit to list positions in the vaults discovered for the address.

Required array length: 1 - 100 elements

The globally unique ID of the vault, which is a UUID prefixed with the string vault_.

Pattern: ^vault_[a-f0-9-]{36}$
pageSize
integer
default:20

The number of resources to return per page.

pageToken
string

The token for the next page of resources, if any.

Response

Successfully listed lend positions.

Non-zero positions in the vaults discovered for the address, or in the vaults named by vaultIds.

lendPositions
object[]
required

The lend positions on this page. Empty when no matching positions remain.

nextPageToken
string

The token for the next page of items, if any.

Example:

"eyJsYXN0X2lkIjogImFiYzEyMyIsICJ0aW1lc3RhbXAiOiAxNzA3ODIzNzAxfQ=="