fromPayload static method

ExtrinsicPayload fromPayload(
  1. Payload payload,
  2. Uint8List signer,
  3. Uint8List signature
)

Implementation

static ExtrinsicPayload fromPayload(
    Payload payload, Uint8List signer, Uint8List signature) {
  return ExtrinsicPayload(
    signer: signer,
    method: payload.method,
    signature: signature,
    eraPeriod: payload.eraPeriod,
    blockNumber: payload.blockNumber,
    nonce: payload.nonce,
    tip: payload.tip,
    customSignedExtensions: payload.customSignedExtensions,
  );
}