pub struct SignRequest {
pub tx_hash_hex: String,
pub tx_cbor_hex: String,
}Expand description
Inputs passed to a Signer for each sign call.
Carries both the bound tx hash and the full hex-encoded tx CBOR. Hash-based
signers (Cardano, Ed25519) read tx_hash_hex; tx-based signers (e.g. wallet
adapters that need the full tx body) read tx_cbor_hex. The SDK always
populates both fields.
Fields§
§tx_hash_hex: StringHex-encoded tx hash bound to this signing call.
tx_cbor_hex: StringHex-encoded full tx CBOR.
Trait Implementations§
Source§impl Clone for SignRequest
impl Clone for SignRequest
Source§fn clone(&self) -> SignRequest
fn clone(&self) -> SignRequest
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 moreAuto Trait Implementations§
impl Freeze for SignRequest
impl RefUnwindSafe for SignRequest
impl Send for SignRequest
impl Sync for SignRequest
impl Unpin for SignRequest
impl UnsafeUnpin for SignRequest
impl UnwindSafe for SignRequest
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