curl --request POST \
--url https://api.privy.io/v1/wallets/{wallet_id}/rpc \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--header 'privy-app-id: <privy-app-id>' \
--data '{
"method": "getClaimStaticDepositQuote",
"network": "REGTEST",
"params": {
"transaction_id": "448f305caf15ec10b2a8286fde6c31ebe2eb30e2018b22a8f7630d3fa2753e49"
}
}'
{
"method": "getClaimStaticDepositQuote",
"data": {
"credit_amount_sats": 9901,
"signature": "304402206e61d688bc498b8cd95f798c82c6f087c71d56ef822b04bc268240dba7be8705022077609ae2349b5233455821cd8db7dc36ac9e123b62f983bd1da371034e786dfd",
"transaction_id": "448f305caf15ec10b2a8286fde6c31ebe2eb30e2018b22a8f7630d3fa2753e49",
"output_index": 1,
"network": "REGTEST"
}
}
privy-authorization-signature
Request authorization signature. If multiple signatures are required, they should be comma
separated.
Path Parameters
Body
Must be set to getClaimStaticDepositQuote.
Blockchain network to use. Options: MAINNET
, REGTEST
.
The transaction hash of the BTC sent to the static deposit address.
Returns
Contains the BTC claim quote.
The amount of sats credited to the wallet after claiming.
The hash of the Bitcoin transaction containing the deposit.
The index of the output within the transaction that is being claimed.
The network used (e.g. REGTEST
or MAINNET
).