Struct ethers_fireblocks::FireblocksSigner [−][src]
pub struct FireblocksSigner { /* fields omitted */ }
Expand description
FireblocksSigner is a Signer
which utilizes Fireblocks’
MPC signing over its API instead of a local private key.
Note: Using FireblocksSigner as a signer WILL NOT take advantage of Fireblock’s contextual policy engine and will only use the RAW signing functionalities.
Consider using FireblocksMiddleware
to have an integrated
ethers Middleware
experience.
Implementations
pub async fn submit_transaction<T: Into<TypedTransaction> + Send + Sync>(
&self,
tx: T,
note: String
) -> Result<TxHash, FireblocksError>
pub async fn submit_transaction<T: Into<TypedTransaction> + Send + Sync>(
&self,
tx: T,
note: String
) -> Result<TxHash, FireblocksError>
Submits a transaction with the Fireblocks CONTRACT_CALL
mode, using the provided
note.
Sets the timeout duration in milliseconds. If the user does not approve a transaction within this time, the transaction request throws an error.
Registers an Account ID to Address mapping.
Trait Implementations
type Error = FireblocksError
fn sign_transaction<'life0, 'life1, 'async_trait>(
&'life0 self,
tx: &'life1 TypedTransaction
) -> Pin<Box<dyn Future<Output = Result<Signature, FireblocksError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn sign_transaction<'life0, 'life1, 'async_trait>(
&'life0 self,
tx: &'life1 TypedTransaction
) -> Pin<Box<dyn Future<Output = Result<Signature, FireblocksError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Signs the transaction
Signs the hash of the provided message after prefixing it
Sets the signer’s chain id
Auto Trait Implementations
impl !RefUnwindSafe for FireblocksSigner
impl Send for FireblocksSigner
impl Sync for FireblocksSigner
impl Unpin for FireblocksSigner
impl !UnwindSafe for FireblocksSigner
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self