Type Definition runtime::types::BtcAddress
source · pub type BtcAddress = Address;
Trait Implementations§
source§impl PartialAddress for BtcAddress
impl PartialAddress for BtcAddress
source§fn from_payload(payload: Payload) -> Result<Self, ConversionError>
fn from_payload(payload: Payload) -> Result<Self, ConversionError>
source§fn to_payload(&self) -> Result<Payload, ConversionError>
fn to_payload(&self) -> Result<Payload, ConversionError>
Encode the
PartialAddress
into the Payload
type.source§fn from_address(address: Address) -> Result<Self, ConversionError>
fn from_address(address: Address) -> Result<Self, ConversionError>
source§fn to_address(&self, network: Network) -> Result<Address, ConversionError>
fn to_address(&self, network: Network) -> Result<Address, ConversionError>
Encode the
PartialAddress
as an address that the bitcoin rpc can use. Read more