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": "claimStaticDeposit",
"network": "MAINNET",
"params": {
"credit_amount_sats": 9901,
"signature": "3045022100c4b5c728cdaf2ca0d9ffa2a5689eefa51d286bf32fbfb678071735a44e83132f0220173e59115579e705689dd0d3e819b87255e86ed4629637c85f761c0960869c7a",
"transaction_id": "cff576f1ebebda2ddf812f06f656a6668f08f13d56290b4468327607f4d68acb",
"output_index": 0
}
}'
{
"method": "claimStaticDeposit",
"data": {
"transfer_id": "22a62e0b-6eae-4d84-8f15-2a69a6440b74"
}
}
privy-authorization-signature
Request authorization signature. If multiple signatures are required, they should be comma
separated.
Path Parameters
Body
Available options: claimStaticDeposit
Available options: MAINNET
, REGTEST
Required parameters to claim the deposit.
Amount of native tokens (in satoshis) being claimed from the UTXO.
A signature authorizing the claim, signed by the address that received the deposit.
The transaction ID (hash) of the deposit transaction containing the UTXO.
The index of the UTXO output in the transaction.
Returns
Always "claimStaticDeposit"
Information about the claimed deposit.
A unique identifier representing the successful internal transfer of claimed funds to the
wallet.