Quote Privy embedded-wallet swap
Body·
required
application/json
Privy swap quote terms
- Type: stringamount
_type required - Type: stringbase
_amount required - Type: stringdestinationrequired
- Type: stringsourcerequired
- Type: stringwallet
_id required - additionalPropertyType: anythingproperty
Name
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/api/privy/swap/quote
curl https://api.musebook.trade/api/privy/swap/quote \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"wallet_id": "",
"source": "",
"destination": "",
"base_amount": "",
"amount_type": "",
"additionalProperty": "anything"
}'
{
"ok": true,
"additionalProperty": "anything"
}