pub enum EvmRpcEndpoint {
Call,
FeeHistory,
GetBlockByNumber,
GetLogs,
GetTransactionCount,
GetTransactionReceipt,
MultiRequest,
SendRawTransaction,
}Expand description
Endpoint on the EVM RPC canister triggering a call to EVM providers.
Variants§
Call
eth_call endpoint.
FeeHistory
eth_feeHistory endpoint.
GetBlockByNumber
eth_getBlockByNumber endpoint.
GetLogs
eth_getLogs endpoint.
GetTransactionCount
eth_getTransactionCount endpoint.
GetTransactionReceipt
eth_getTransactionReceipt endpoint.
MultiRequest
multi_request endpoint.
SendRawTransaction
eth_sendRawTransaction endpoint.
Implementations§
Source§impl EvmRpcEndpoint
impl EvmRpcEndpoint
Sourcepub fn rpc_method(&self) -> &'static str
pub fn rpc_method(&self) -> &'static str
Method name on the EVM RPC canister
Sourcepub fn cycles_cost_method(&self) -> &'static str
pub fn cycles_cost_method(&self) -> &'static str
Method name on the EVM RPC canister to estimate the amount of cycles for that request.
Trait Implementations§
Source§impl Clone for EvmRpcEndpoint
impl Clone for EvmRpcEndpoint
Source§fn clone(&self) -> EvmRpcEndpoint
fn clone(&self) -> EvmRpcEndpoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EvmRpcEndpoint
impl Debug for EvmRpcEndpoint
Source§impl IntoEnumIterator for EvmRpcEndpoint
impl IntoEnumIterator for EvmRpcEndpoint
Source§impl Ord for EvmRpcEndpoint
impl Ord for EvmRpcEndpoint
Source§fn cmp(&self, other: &EvmRpcEndpoint) -> Ordering
fn cmp(&self, other: &EvmRpcEndpoint) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EvmRpcEndpoint
impl PartialEq for EvmRpcEndpoint
Source§impl PartialOrd for EvmRpcEndpoint
impl PartialOrd for EvmRpcEndpoint
impl Eq for EvmRpcEndpoint
impl StructuralPartialEq for EvmRpcEndpoint
Auto Trait Implementations§
impl Freeze for EvmRpcEndpoint
impl RefUnwindSafe for EvmRpcEndpoint
impl Send for EvmRpcEndpoint
impl Sync for EvmRpcEndpoint
impl Unpin for EvmRpcEndpoint
impl UnwindSafe for EvmRpcEndpoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more