sdk
Verify wallet transfer
Used to link a wallet after user has confirmed transfer to the new account
POST
/
sdk
/
{environmentId}
/
verify
/
transfer
Authorization
Path
Body
curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/verify/transfer \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"captchaToken": "<string>",
"chain": "ETH",
"messageToSign": "message to sign",
"network": "<string>",
"oauth": {
"accessToken": "<string>",
"didToken": "<string>",
"provider": "emailOnly"
},
"publicWalletAddress": "<string>",
"signedMessage": "signed message",
"skipEmptyAccountCheck": true,
"walletName": "<string>",
"walletProvider": "browserExtension"
}'
{
"jwt": "jwt_value",
"user": {
"alias": "<string>",
"btcWallet": "<string>",
"ckbWallet": "<string>",
"country": "US",
"discordNotification": true,
"dogeWallet": "<string>",
"email": "jsmith@example.com",
"emailNotification": true,
"firstName": "<string>",
"firstVisit": "2023-11-07T05:31:56Z",
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"jobTitle": "<string>",
"kasWallet": "<string>",
"kdaWallet": "<string>",
"lastName": "<string>",
"lastVisit": "2023-11-07T05:31:56Z",
"ltcWallet": "<string>",
"metadata": {},
"newUser": true,
"newsletterNotification": true,
"phoneNumber": "<string>",
"policiesConsent": true,
"projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
"tShirtSize": "<string>",
"team": "<string>",
"username": "<string>",
"verifiedCredentials": []
}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
environmentId
string
requiredID of the environment
Body
application/json
captchaToken
string
When provided, used to verify that a captcha is valid and get the success/failure result from the captcha provider server-side.
chain
enum<string>
requiredAvailable options:
ETH
, EVM
, FLOW
, SOL
, ALGO
, STARK
, COSMOS
messageToSign
string
requirednetwork
string
oauth
object
publicWalletAddress
string
requiredsignedMessage
string
requiredskipEmptyAccountCheck
boolean
Used for wallet transfers. When set to true it will execute the transfer even if the wallet is the only one that the transferor has.Be warn that this will result an orphan account that will be impossible to access.
walletName
string
requiredwalletProvider
enum<string>
requiredAvailable options:
browserExtension
, custodialService
, walletConnect
, qrCode
, deepLink
, embeddedWallet
, smartContractWallet
Response
200 - application/json
jwt
string
requiredEncoded JWT token
user
object
requiredWas this page helpful?
curl --request POST \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/verify/transfer \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"captchaToken": "<string>",
"chain": "ETH",
"messageToSign": "message to sign",
"network": "<string>",
"oauth": {
"accessToken": "<string>",
"didToken": "<string>",
"provider": "emailOnly"
},
"publicWalletAddress": "<string>",
"signedMessage": "signed message",
"skipEmptyAccountCheck": true,
"walletName": "<string>",
"walletProvider": "browserExtension"
}'
{
"jwt": "jwt_value",
"user": {
"alias": "<string>",
"btcWallet": "<string>",
"ckbWallet": "<string>",
"country": "US",
"discordNotification": true,
"dogeWallet": "<string>",
"email": "jsmith@example.com",
"emailNotification": true,
"firstName": "<string>",
"firstVisit": "2023-11-07T05:31:56Z",
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"jobTitle": "<string>",
"kasWallet": "<string>",
"kdaWallet": "<string>",
"lastName": "<string>",
"lastVisit": "2023-11-07T05:31:56Z",
"ltcWallet": "<string>",
"metadata": {},
"newUser": true,
"newsletterNotification": true,
"phoneNumber": "<string>",
"policiesConsent": true,
"projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
"tShirtSize": "<string>",
"team": "<string>",
"username": "<string>",
"verifiedCredentials": []
}
}