The actual payload structure sent to the node /pkp/sign endpoint.

interface JsonPkpSignRequest {
    authMethods?: AuthMethod[];
    authSig: AuthSig;
    pubkey: string;
    toSign: ArrayLike<number>;
}

Hierarchy (view full)

Properties

authMethods?: AuthMethod[]
authSig: AuthSig
pubkey: string

note that 'key' is in lower case, because this is what the node expects

toSign: ArrayLike<number>