Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save evanVtatum/ed12a81ae17c1fc2b6a234a65823daec to your computer and use it in GitHub Desktop.
Save evanVtatum/ed12a81ae17c1fc2b6a234a65823daec to your computer and use it in GitHub Desktop.
Custodial multi-wallet: Transfer ERC-20 on Polygon
curl --location --request POST 'https://api-eu1.tatum.io/v3/blockchain/sc/custodial/transfer' \
--header 'Content-Type: application/json' \
--header 'x-api-key: testnet' \
--data-raw '{
"chain": "MATIC",
"contractType": 0,
"tokenAddress": "0x2d7882bedcbfddce29ba99965dd3cdf7fcb10a1e",
"custodialAddress": "0x4eC40a4A0dA042d46cC4529f918080957003b531",
"recipient": "0x8cb76aEd9C5e336ef961265c6079C14e9cD3D2eA",
"amount": "0.00006",
"fromPrivateKey": "0x37b091fc4ce46a56da643f021254612551dbe0944679a6e09cb5724d3085c9ab"
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment