• encodeCallWithNonceAndKeys encodes a call based on its configured call format. It returns the encoded call and any metadata needed to successfully decode the result.

    Parameters

    • nonce: Uint8Array
    • sk: Uint8Array
    • pk: Uint8Array
    • call: Call
    • format: number
    • Optionalconfig: EncodeConfig

    Returns [Call, unknown]