Sign a delegate action from a specific developer-controlled wallet.
NOTE: This endpoint is only available for NEAR and NEAR-TESTNET.
Parameters for signing a delegate action.
Unsigned delegate action string that needs to be signed. Must be base64 encoded.
System-generated unique identifier of the resource.
1const response = await client.signDelegateAction({
2 walletId: 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11',
3 unsignedDelegateAction: 'ASVlcGFrcm...VkZHlndW1taS==',
4})
5console.log(response.data?.signature)