Variable checkTransactionValues
checkTransactionValues: (
opts: any,
) =>
| {
description?: undefined;
error?: undefined;
errorCode?: undefined;
ok: boolean;
requirement?: undefined;
}
| {
description: string;
error: string;
errorCode: string;
ok: boolean;
requirement: string;
} = checkTransactionValues
Type Declaration
-
- (
opts: any,
):
| {
description?: undefined;
error?: undefined;
errorCode?: undefined;
ok: boolean;
requirement?: undefined;
}
| {
description: string;
error: string;
errorCode: string;
ok: boolean;
requirement: string;
}
-
Returns
| {
description?: undefined;
error?: undefined;
errorCode?: undefined;
ok: boolean;
requirement?: undefined;
}
| {
description: string;
error: string;
errorCode: string;
ok: boolean;
requirement: string;
}
{ ok: true }, or { ok: false, errorCode, error, requirement, description }
Refuses, immediately before a code is minted, a PKCE challenge or nonce the client has already used in another transaction.