SDK Explorer

Sign a delegate action from a specific developer-controlled wallet.

NOTE: This endpoint is only available for NEAR and NEAR-TESTNET.

Parameters
input
object
Required

Parameters for signing a delegate action.

unsignedDelegateAction
string
Required

Unsigned delegate action string that needs to be signed. Must be base64 encoded.

walletId
string
Required

System-generated unique identifier of the resource.

Responses
Example
1const response = await client.signDelegateAction({
2  walletId: 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11',
3  unsignedDelegateAction: 'ASVlcGFrcm...VkZHlndW1taS==',
4})
5console.log(response.data?.signature)
ResponseChoose an example
1{
2  "data": {
3    "signature": "3W6r38STvZuBSmk2bbbct132SjEsYSARo3CJi3JQvNUaFoYu...",
4    "signedDelegateAction": "AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABpzlAhqqen7eyTe0KQ3w+9NS4E+7sscb+Cr..."
5  }
6}
Did this page help you?
© 2023-2025 Circle Technology Services, LLC. All rights reserved.