Docs

eth_signTransaction - Sign transaction (r...

Sign transaction on Centrifuge - Note: Most RPC providers don't support this for security reasons.

Signs a transaction using an unlocked account on the node. Important: Most RPC providers don't support this method for security reasons, as it requires private keys to be stored on the server.

Security Considerations

  • This method requires an unlocked account on the node
  • Private keys must be available to the RPC server
  • Most production RPC providers disable this method
  • Use client-side signing libraries instead for better security

Implementation Example

Heads up

eth_signTransaction requires access to an unlocked account, which Dwellir's shared RPC endpoints do not provide. Sign the payload locally (wallet, HSM, or KMS) and then broadcast with eth_sendRawTransaction.