Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance allowed assets description #77

Merged
merged 1 commit into from
Jan 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/flows/crypto-onramp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The crypto on-ramp flow allows a user to add funds from a credit or debit card t
- `paymentMethod` (_optional_): An object configuring the pre-selected payment method.
- `network`: Payment method network (e.g.: `apple-pay`, `google-pay`, `pix` or `card`).
- `target` (_optional_): An object configuring recipient wallet.
- `allowedAssets` (_optional_): Set of cryptoassets that the user can set as target asset.
- `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.
- `amount` (_optional_): Amount the user will receive.
- `asset`: Cryptoasset the user will receive.
- `network`: Network of the receiving asset.
Expand Down
Loading