pub struct UnsignedCall { /* private fields */ }Expand description
An inspectable unsigned wallet invocation, bound to the intended network.
Implementations§
Source§impl UnsignedCall
impl UnsignedCall
Sourcepub fn transaction(&self) -> &Transaction
pub fn transaction(&self) -> &Transaction
The exact transaction body that will be signed.
Sourcepub fn sign(self, signer: &impl Signer) -> Result<SignedCall, SigningError>
pub fn sign(self, signer: &impl Signer) -> Result<SignedCall, SigningError>
Sign this prepared invocation without submitting it or consulting configuration. Reject a signer whose public key differs from the native account’s auth claim.
Trait Implementations§
Source§impl Clone for UnsignedCall
impl Clone for UnsignedCall
Auto Trait Implementations§
impl Freeze for UnsignedCall
impl RefUnwindSafe for UnsignedCall
impl Send for UnsignedCall
impl Sync for UnsignedCall
impl Unpin for UnsignedCall
impl UnsafeUnpin for UnsignedCall
impl UnwindSafe for UnsignedCall
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