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": "eth_sendTransaction", "caip2": "eip155:11155111", "chain_type": "ethereum", "params": { "transaction": { "to": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "value": "0x2386F26FC10000", } } }'
{ "method": "eth_sendTransaction", "data": { "hash": "0xfc3a736ab2e34e13be2b0b11b39dbc0232a2e755a11aa5a9219890d3b2c6c7d8", "caip2": "eip155:11155111", "transaction_id": "y90vpg3bnkjxhw541c2zc6a9" } }
Sign and send a transaction using the eth_sendTransaction method.
eth_sendTransaction
Hide child attributes
0
1
2
ethereum