Skip to content

Commit 6629564

Browse files
andregoncalvesdevjackmurdoch
authored andcommitted
Enhance allowed assets description
1 parent 80483e9 commit 6629564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/flows/crypto-onramp.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The crypto on-ramp flow allows a user to add funds from a credit or debit card t
3030
- `paymentMethod` (_optional_): An object configuring the pre-selected payment method.
3131
- `network`: Payment method network (e.g.: `apple-pay`, `google-pay`, `pix` or `card`).
3232
- `target` (_optional_): An object configuring recipient wallet.
33-
- `allowedAssets` (_optional_): Set of cryptoassets that the user can set as target asset.
33+
- `allowedAssets` (_optional_): Set of cryptoassets that the user can set as target asset. Can be an array of objects with `asset` and `networks` (e.g.: `{ "asset": "ETH", "networks": ["ethereum"] }`), an array of asset codes (e.g.: `["BTC", "ETH"]` where all available networks for each asset are included), or a combination of both for flexibility.
3434
- `amount` (_optional_): Amount the user will receive.
3535
- `asset`: Cryptoasset the user will receive.
3636
- `network`: Network of the receiving asset.

0 commit comments

Comments
 (0)