Callbacks: {
closeScreenCallback: () => Promise<string>;
kycCompletionCallback: (data: any[]) => void;
onSendTransaction: (data: TransactionData) => Promise<`0x${string}` | undefined>;
onSignMessageCallback: (data: {message: string; }) => Promise<BlockchainSignature>;
onStartKycCallback: (data: DataAvailableOnStart) => DataAvailableOnStart;
onVerification: (isVerified: boolean) => void;
resolveGetTxAuthSigRequest: (signatureResponse: GetTxAuthDataSignatureResponse) => void;
resolveIsVerifiedRequest: (isVerified: boolean) => void;
resolvePolygonIdRequest: (data: PolygonIdResponse) => void;
scenarioExecutionCallback: (data: ScenarioExecutionData) => void;
sdkInitializedCallback: (data: {did: string; }) => void;
}
Type Declaration
closeScreenCallback()?
closeScreenCallback()?
optional closeScreenCallback: () => Promise<string>
Returns
Promise<string>
kycCompletionCallback()?
kycCompletionCallback()?
optional kycCompletionCallback: (data: any[]) => void
Parameters
data: any[]
Returns
void
onSendTransaction()?
onSendTransaction()?
optional onSendTransaction: (data: TransactionData) => Promise<
0x${string} | undefined>
Parameters
data: TransactionData
Returns
Promise<
0x${string}| undefined>
onSignMessageCallback()?
onSignMessageCallback()?
optional onSignMessageCallback: (data: {message: string; }) => Promise<BlockchainSignature>
Parameters
data: {message: string; }
Returns
Promise<BlockchainSignature>
onStartKycCallback()?
onStartKycCallback()?
optional onStartKycCallback: (data: DataAvailableOnStart) => DataAvailableOnStart
Parameters
data: DataAvailableOnStart
Returns
DataAvailableOnStart
onVerification()?
onVerification()?
optional onVerification: (isVerified: boolean) => void
Parameters
isVerified: boolean
Returns
void
resolveGetTxAuthSigRequest()?
resolveGetTxAuthSigRequest()?
optional resolveGetTxAuthSigRequest: (signatureResponse: GetTxAuthDataSignatureResponse) => void
Parameters
signatureResponse: GetTxAuthDataSignatureResponse
Returns
void
resolveIsVerifiedRequest()?
resolveIsVerifiedRequest()?
optional resolveIsVerifiedRequest: (isVerified: boolean) => void
Parameters
isVerified: boolean
Returns
void
resolvePolygonIdRequest()?
resolvePolygonIdRequest()?
optional resolvePolygonIdRequest: (data: PolygonIdResponse) => void
Parameters
data: PolygonIdResponse
Returns
void
scenarioExecutionCallback()?
scenarioExecutionCallback()?
optional scenarioExecutionCallback: (data: ScenarioExecutionData) => void
Parameters
data: ScenarioExecutionData
Returns
void
sdkInitializedCallback()?
sdkInitializedCallback()?
optional sdkInitializedCallback: (data: {did: string; }) => void
Parameters
data: {did: string; }
Returns
void