Type Definition runtime::types::BtcAddress

source ·
pub type BtcAddress = Address;

Trait Implementations§

source§

impl PartialAddress for BtcAddress

source§

fn from_payload(payload: Payload) -> Result<Self, ConversionError>

Decode the PartialAddress from the Payload type. Read more
source§

fn to_payload(&self) -> Result<Payload, ConversionError>

Encode the PartialAddress into the Payload type.
source§

fn from_address(address: Address) -> Result<Self, ConversionError>

Decode the PartialAddress from the Address type. Read more
source§

fn to_address(&self, network: Network) -> Result<Address, ConversionError>

Encode the PartialAddress as an address that the bitcoin rpc can use. Read more