Type alias GenerateSignatureBody
GenerateSignatureBody: {
externalId?: string;
kind: "SignDocDirect";
signDoc: string;
} | {
externalId?: string;
hash: string;
kind: "Hash";
taprootMerkleRoot?: string;
} | {
externalId?: string;
kind: "Message";
message: string;
} | {
externalId?: string;
kind: "Transaction";
transaction: string;
} | {
domain: {
chainId?: number | string;
name?: string;
salt?: string;
verifyingContract?: string;
version?: string;
};
externalId?: string;
kind: "Eip712";
message: {
[x: string]: unknown;
};
types: {
[x: string]: {
name: string;
type: string;
}[];
};
} | {
externalId?: string;
kind: "Psbt";
psbt: string;
} | {
externalId?: string;
format?: "Simple" | "Full";
kind: "Bip322";
message: string;
}
Type declaration
-
Optional
externalId?: string
-
kind: "SignDocDirect"
-
signDoc: string
Type declaration
-
Optional
externalId?: string
-
hash: string
-
kind: "Hash"
-
Optional
taprootMerkleRoot?: string
Type declaration
-
Optional
externalId?: string
-
kind: "Message"
-
message: string
Type declaration
-
Optional
externalId?: string
-
kind: "Transaction"
-
transaction: string
Type declaration
-
domain: {
chainId?: number | string;
name?: string;
salt?: string;
verifyingContract?: string;
version?: string;
}
-
Optional
chainId?: number | string
-
Optional
name?: string
-
Optional
salt?: string
-
Optional
verifyingContract?: string
-
Optional
version?: string
-
Optional
externalId?: string
-
kind: "Eip712"
-
message: {
[x: string]: unknown;
}
-
types: {
[x: string]: {
name: string;
type: string;
}[];
}
-
[x: string]: {
name: string;
type: string;
}[]
Type declaration
-
Optional
externalId?: string
-
kind: "Psbt"
-
psbt: string
Type declaration
-
Optional
externalId?: string
-
Optional
format?: "Simple" | "Full"
-
kind: "Bip322"
-
message: string