Function signAndSend

  • A task that returns an EitherInterface type with syntactic sugar for async unwrapping.

    Generic

    L - left type

    Generic

    R - right type

    Generic

    Args extends ReadonlyArray> - args passed to the task

    Parameters

    • Rest ...args: [{
          api: ApiPromise;
          signer: KeyringPairOrExtSigner;
          tx: SubmittableExtrinsic<"promise", ISubmittableResult>;
          waitForFinalization?: boolean;
      } & TransactionHooks]

    Returns IAEither<TransactionError, ISubmittableResult>

Generated using TypeDoc