Skip to content
docs

sendEncryptedTransaction

sendEncryptedTransaction(input): Promise<EncryptedSend>

Defined in: mempool.ts:217

Sign the transaction, encrypt it on the device and submit the ciphertext to the Sequencer. Returns once the submission is broadcast; waitForEncryptedTransaction follows it to the block. Refuses (before signing anything) a wrong chain, a decommissioned network, a gas limit over the per-block encrypted gas, or a balance that cannot pay both transactions. The eon key comes from rpc: use an RPC you trust.

SendEncryptedInput

Promise<EncryptedSend>