Signed Reads
Encrypted eth_call that proves your identity to the contract
Why signed reads exist
// Signed read -- proves your identity to the contract
// msg.sender = your wallet address
let result = provider.seismic_call(SendableTx::Builder(tx.into())).await?;
// Transparent read -- msg.sender is 0x0
// The contract does not know who is calling
let result = provider.call(tx).await?;What gets encrypted
Direction
Encrypted
Description
Step-by-step
1. Set up a signed provider
2. Encode the call input
3. Build a seismic transaction
4. Use seismic_call() instead of call()
seismic_call() instead of call()5. Decode the decrypted response
Signed read vs. transparent read
How the provider handles encryption
Complete example
When to use transparent reads instead
See Also
Last updated

