Type alias GenerateSignatureResponse
GenerateSignatureResponse: {
approvalId?: string;
dateConfirmed?: string;
datePolicyResolved?: string;
dateRequested: string;
dateSigned?: string;
externalId?: string;
fee?: string;
id: string;
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Iota" | "IotaTestnet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
reason?: string;
requestBody: {
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;
};
requester: {
appId?: string;
tokenId?: string;
userId: string;
};
signature?: {
encoded?: string;
r: string;
recid?: number;
s: string;
};
signatures?: {
encoded?: string;
r: string;
recid?: number;
s: string;
}[];
signedData?: string;
status: "Pending" | "Executing" | "Signed" | "Confirmed" | "Failed" | "Rejected";
txHash?: string;
walletId: string;
}
Type declaration
-
Optional
approvalId?: string
-
Optional
dateConfirmed?: string
-
Optional
datePolicyResolved?: string
-
dateRequested: string
-
Optional
dateSigned?: string
-
Optional
externalId?: string
-
Optional
fee?: string
-
id: string
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Iota" | "IotaTestnet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA"
-
Optional
reason?: string
-
requestBody: {
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;
}
-
requester: {
appId?: string;
tokenId?: string;
userId: string;
}
-
Optional
appId?: string
-
Optional
tokenId?: string
-
userId: string
-
Optional
signature?: {
encoded?: string;
r: string;
recid?: number;
s: string;
}
-
Optional
encoded?: string
-
r: string
-
Optional
recid?: number
-
s: string
-
Optional
signatures?: {
encoded?: string;
r: string;
recid?: number;
s: string;
}[]
-
Optional
signedData?: string
-
status: "Pending" | "Executing" | "Signed" | "Confirmed" | "Failed" | "Rejected"
-
Optional
txHash?: string
-
walletId: string