POST
/
v1
/
wallets
/
{wallet_id}
/
rpc
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"
  }
}
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"
  }
}

Headers

privy-app-id
string
required
ID of your Privy app.
privy-authorization-signature
string
Request authorization signature. If multiple signatures are required, they should be comma separated.

Path Parameters

wallet_id
string
required
ID of the wallet to get.
These wallet methods are modeled after the Spark Wallet SDK. For more information about this wallet method, check out the Spark Wallet documentation.

Body

method
string
required
Available options: claimStaticDeposit
network
string
required
Available options: MAINNET, REGTEST
params
object
required
Required parameters to claim the deposit.

Returns

method
enum<string>
required
Always "claimStaticDeposit"
data
object
required
Information about the claimed deposit.