Skip to main content
POST
Create a smart deposit address for a user.

Authorizations

x-api-key
string
header
required

API key in format: pxl_<public_id>_

Body

application/json
userDestinationAddress
string
required

Address of end user who we are depositing funds on behalf of

Example:

"0x0000000000000000000000000000000000000123"

vaultAddress
string
required

Vault contract address

Example:

"0x1234567890abcdef1234567890abcdef12345678"

inputToken
string
required

Underlying token address to deposit into the vault

Example:

"0xf08a50178dfcde18524640ea6618a1f965821715"

chainId
number
required

Chain ID where the vault exists

Example:

1

customerId
string

Optional customer identifier for generating unique deposit addresses. When provided, each unique customerId produces a distinct address even when other parameters are identical.

Required string length: 1 - 256
Pattern: ^[a-zA-Z0-9_-]+$
Example:

"user_123"

Response

Smart Deposit address

smartDepositAddress
string
required

The smart deposit address for the given user

Example:

"0xabcdef1234567890abcdef1234567890abcdef12"