Create persistent deposit address
Returns a chain-specific deposit address that funnels deposits into the recipient's account. The same address is returned for repeat calls with the same API key + recipient + recipientType + sender + depositChain + destinationChain/destinationAsset + confidential, so users can safely save it externally. A different API key (or recipientType/destinationAsset/destinationChain/confidential) yields a different deposit address and a separate underlying Intents account.
Access. Creating new addresses is limited to organisations approved by Aurora; any other API key receives a 403.
EVM chains share one address. Across different EVM chains you only need to generate the deposit address once using any EVM chain as
depositChain. The returned address works automatically for deposits on every other supported EVM chain — no need to call this endpoint again per EVM chain.
Fees. The account is minted with a baseline of app fees computed like
/api/quotefrom the key's fee configuration (confidential variants whenconfidentialis true). Because the deposited asset is not known yet, only fee rules that do not constrain the origin asset apply, matched against the destination. The fees actually applied to each swap come from/api/persistent-deposit-fees, which 1Click calls per swap with the real origin asset.
API key generated at https://studio.aurora.dev
To specify the asset the user receives, you can either:
- Pass a token symbol in
destinationAsset(e.g. "USDC") together withdestinationChain(e.g. "base"). The API resolves the symbol to an asset ID on that chain. - Or pass an asset ID directly in
destinationAsset(e.g. "nep141:base-0x...omft.near").destinationChainis still required to locate it.
When a symbol matches more than one token on the same destinationChain, the request fails with 400 and an error listing the matching asset IDs ("Multiple tokens with symbol ... Use one of the asset IDs instead: ..."). In that case, retry with the specific asset ID you want.
Where the swapped funds are sent, in the format required by recipientType: an address on destinationChain for DESTINATION_CHAIN (default), or an Intents account ID (e.g. "alice.near") for INTENTS. Funds deposited to the returned address will ultimately route to this recipient.
0x2527D02599Ba641c19FEa793cD0F167589a0f10DIdentifier of the user the deposit address is generated for (e.g. their ID in the system). A unique deposit address is generated and persisted per (API key, sender, recipient, recipientType, destinationAsset, confidential, depositChain), so incoming deposits can be attributed to a specific user. A single underlying Intents account is shared per (API key, sender, recipient, recipientType, destinationAsset, confidential) across all deposit chains; only the deposit address is chain-specific.
some-user-idChain the user deposits FROM (the chain of the returned deposit address). Short code matching the widget config Chains enum, e.g. "arb" for Arbitrum. The special value "evm" is accepted as a shortcut for any EVM chain — all EVM chains share one deposit address — and resolves to Base ("base"). For "stellar", the response includes a memo that deposits must carry.
arbPossible values: Chain the user receives funds ON (for recipientType INTENTS, the chain destinationAsset belongs to; the funds stay inside Intents). Used to resolve destinationAsset when it is provided as a symbol. Short code matching the widget config Chains enum, e.g. "base" for Base.
basePossible values: Asset the user wants to receive on destinationChain. Accepts either a token symbol (e.g. "USDC") or an asset ID (e.g. "nep141:base-0x...omft.near"). When a symbol is used and more than one token shares that symbol on destinationChain, the request is rejected with 400 and the caller must switch to the asset ID.
USDCWhether the underlying account used for swaps settles on the Confidential Intents rail. When true, the account is minted with basic confidentiality mode (deposits still arrive at ordinary chain addresses). Part of the address identity: true and false produce different, independently persisted deposit addresses and separate accounts for otherwise identical parameters. Defaults to false.
falseExample: trueType of recipient:
DESTINATION_CHAIN(default) - swapped funds are withdrawn torecipientondestinationChain.INTENTS- swapped funds are transferred to therecipientaccount inside Intents. Not available together withconfidential: true.
Part of the address identity: the two types produce different, independently persisted deposit addresses and separate accounts for otherwise identical parameters.
DESTINATION_CHAINExample: INTENTSPossible values: Persistent deposit address generated or fetched from cache
Persistent deposit address generated or fetched from cache
Chain-specific deposit address. Sending any supported asset on this chain to this address will deposit funds into the NEAR Intents account associated with recipient.
0x76b4c56085ED136a8744D52bE956396624a730E8True when this exact deposit address already existed and was already user-requested (requested = true) before this call — i.e. the call was a cache hit on a previously generated address rather than a new generation.
falseDeposit memo required by some chains (currently only Stellar). Deposits to depositAddress on such chains MUST include this memo or the funds are not credited. Omitted for chains that do not use a memo.
66357Trace identifier of the 1Click quote made to create this address, for debugging upstream latency and errors with the 1Click team. Only present when this call actually quoted 1Click — it is omitted when the address was served from an existing record, and 1Click does not always return one.
550e8400-e29b-41d4-a716-446655440000Default Response
The API key does not belong to an organisation approved for persistent deposit address creation. Addresses already issued are still returned
Application key is not assigned or no token matches destinationAsset on destinationChain
Rate limit exceeded, or a concurrent request is already creating this deposit address; retry
Internal Server Error - Failed to call upstream services
Gateway Timeout - 1Click did not mint the deposit account in time; retry
POST /api/persistent-deposit-address/{apiKey} HTTP/1.1
Host: intents-api.aurora.dev
Content-Type: application/json
Accept: */*
Content-Length: 201
{
"recipient": "0x2527D02599Ba641c19FEa793cD0F167589a0f10D",
"sender": "some-user-id",
"depositChain": "arb",
"destinationChain": "base",
"destinationAsset": "USDC",
"confidential": true,
"recipientType": "INTENTS"
}{
"depositAddress": "0x76b4c56085ED136a8744D52bE956396624a730E8",
"alreadyExists": false,
"memo": "66357",
"correlationId": "550e8400-e29b-41d4-a716-446655440000"
}Last updated
