Sign a transaction
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/sign_transaction \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
--data '{
"type": "ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
"timestampMs": "<string> (e.g. 1746736509954)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"signWith": "<string>",
"unsignedTransaction": "<string>",
"type": "<TRANSACTION_TYPE_ETHEREUM>"
}
}'
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g. 1746736509954)",
"result": {
"activity": {
"type": "<string>",
"intent": {
"signTransactionIntent": {
"privateKeyId": "<string>",
"unsignedTransaction": "<string>",
"type": "<TRANSACTION_TYPE_ETHEREUM>"
}
},
"result": {
"signTransactionResult": {
"signedTransaction": "<string>"
}
}
}
}
}
}
Enum options: ACTIVITY_TYPE_SIGN_TRANSACTION_V2
Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
Unique identifier for a given Organization.
parameters field
Show details
A Wallet account address, Private Key address, or Private Key identifier.
A successful response returns the following fields:
The activity object containing type, intent, and result
Show activity details
The intent of the activity
Show intent details
The signTransactionIntent object
Show signTransactionIntent details
Unique identifier for a given Private Key.
Raw unsigned transaction to be signed by a particular Private Key.
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/sign_transaction \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
--data '{
"type": "ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
"timestampMs": "<string> (e.g. 1746736509954)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"signWith": "<string>",
"unsignedTransaction": "<string>",
"type": "<TRANSACTION_TYPE_ETHEREUM>"
}
}'
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g. 1746736509954)",
"result": {
"activity": {
"type": "<string>",
"intent": {
"signTransactionIntent": {
"privateKeyId": "<string>",
"unsignedTransaction": "<string>",
"type": "<TRANSACTION_TYPE_ETHEREUM>"
}
},
"result": {
"signTransactionResult": {
"signedTransaction": "<string>"
}
}
}
}
}
}
Was this page helpful?
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/sign_transaction \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
--data '{
"type": "ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
"timestampMs": "<string> (e.g. 1746736509954)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"signWith": "<string>",
"unsignedTransaction": "<string>",
"type": "<TRANSACTION_TYPE_ETHEREUM>"
}
}'
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g. 1746736509954)",
"result": {
"activity": {
"type": "<string>",
"intent": {
"signTransactionIntent": {
"privateKeyId": "<string>",
"unsignedTransaction": "<string>",
"type": "<TRANSACTION_TYPE_ETHEREUM>"
}
},
"result": {
"signTransactionResult": {
"signedTransaction": "<string>"
}
}
}
}
}
}
Sign a transaction
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/sign_transaction \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
--data '{
"type": "ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
"timestampMs": "<string> (e.g. 1746736509954)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"signWith": "<string>",
"unsignedTransaction": "<string>",
"type": "<TRANSACTION_TYPE_ETHEREUM>"
}
}'
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g. 1746736509954)",
"result": {
"activity": {
"type": "<string>",
"intent": {
"signTransactionIntent": {
"privateKeyId": "<string>",
"unsignedTransaction": "<string>",
"type": "<TRANSACTION_TYPE_ETHEREUM>"
}
},
"result": {
"signTransactionResult": {
"signedTransaction": "<string>"
}
}
}
}
}
}
Enum options: ACTIVITY_TYPE_SIGN_TRANSACTION_V2
Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
Unique identifier for a given Organization.
parameters field
Show details
A Wallet account address, Private Key address, or Private Key identifier.
A successful response returns the following fields:
The activity object containing type, intent, and result
Show activity details
The intent of the activity
Show intent details
The signTransactionIntent object
Show signTransactionIntent details
Unique identifier for a given Private Key.
Raw unsigned transaction to be signed by a particular Private Key.
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/sign_transaction \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
--data '{
"type": "ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
"timestampMs": "<string> (e.g. 1746736509954)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"signWith": "<string>",
"unsignedTransaction": "<string>",
"type": "<TRANSACTION_TYPE_ETHEREUM>"
}
}'
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g. 1746736509954)",
"result": {
"activity": {
"type": "<string>",
"intent": {
"signTransactionIntent": {
"privateKeyId": "<string>",
"unsignedTransaction": "<string>",
"type": "<TRANSACTION_TYPE_ETHEREUM>"
}
},
"result": {
"signTransactionResult": {
"signedTransaction": "<string>"
}
}
}
}
}
}
Was this page helpful?
curl --request POST \
--url https://api.turnkey.com/public/v1/submit/sign_transaction \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \
--data '{
"type": "ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
"timestampMs": "<string> (e.g. 1746736509954)",
"organizationId": "<string> (Your Organization ID)",
"parameters": {
"signWith": "<string>",
"unsignedTransaction": "<string>",
"type": "<TRANSACTION_TYPE_ETHEREUM>"
}
}'
{
"activity": {
"id": "<activity-id>",
"status": "ACTIVITY_STATUS_COMPLETED",
"type": "ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
"organizationId": "<organization-id>",
"timestampMs": "<timestamp> (e.g. 1746736509954)",
"result": {
"activity": {
"type": "<string>",
"intent": {
"signTransactionIntent": {
"privateKeyId": "<string>",
"unsignedTransaction": "<string>",
"type": "<TRANSACTION_TYPE_ETHEREUM>"
}
},
"result": {
"signTransactionResult": {
"signedTransaction": "<string>"
}
}
}
}
}
}