Trait ethers_core::abi::AbiEncode
source · pub trait AbiEncode {
// Required method
fn encode(self) -> Vec<u8> ⓘ;
// Provided method
fn encode_hex(self) -> String
where Self: Sized { ... }
}
Expand description
Trait for ABI encoding
Required Methods§
Provided Methods§
sourcefn encode_hex(self) -> Stringwhere
Self: Sized,
fn encode_hex(self) -> Stringwhere
Self: Sized,
Returns the encoded value as hex string, with a 0x
prefix