This guide will walk you through how to sign an Ethereum transaction using the Enclave MPC API.
https://mpc-client.portalhq.io/v1/sign
.
method
: this defines which Ethereum RPC signer method we want to use.params
: these are the parameters of your transaction.
value
: this is the amount of ETH measured in Wei and hex encoded.from
: this is the address of the sender - your wallet in this case.to
: this is the address you’re sending to - our test wallet in this case.data
: this is used for interacting with smart contracts - we can ignore it.eth_sendTransaction
Ethereum RPC method to instruct the Portal API to both sign and submit a transaction to the blockchain.