build_typed_transaction

Function build_typed_transaction 

Source
pub fn build_typed_transaction(
    request: FoundryTypedTx,
    signature: Signature,
) -> Result<FoundryTxEnvelope, BlockchainError>
Expand description

converts the request into a [FoundryTypedTx] with the given signature

ยงErrors

This will fail if the signature contains an erroneous recovery id.