cURL
curl --request GET \
--url http://localhost:4100/v1/agents/me/prepared-actions/{projectId}/{actionId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/agents/me/prepared-actions/{projectId}/{actionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"actionId": "<string>",
"chainId": 84532,
"core": "<string>",
"asset": "<string>",
"mandateId": "<string>",
"gasPolicyId": "<string>",
"agent": "<string>",
"recipient": "<string>",
"amountBaseUnits": "<string>",
"relayerMode": "gol",
"maxChargeWei": "<string>",
"digest": "<string>",
"typedData": {
"domain": {
"name": "GOL Mandate",
"version": "3",
"chainId": 84532,
"verifyingContract": "<string>"
},
"types": {
"GasActionAuthorization": [
{
"name": "<string>",
"type": "<string>"
}
]
},
"primaryType": "GasActionAuthorization",
"message": {
"mandateId": "<string>",
"actionTag": 1,
"schemaVersion": 1,
"actionId": "<string>",
"capabilityDigest": "<string>",
"deadline": 123,
"inputHash": "<string>",
"gasPolicyId": "<string>",
"maxCharge": "<string>"
}
}
}{
"error": {
"code": "hosted_signing_rate_limited",
"message": "<string>"
},
"retryAfterSeconds": 30
}Hosted agents
Get v1agentsmeprepared actions
Reads the original stored version 3 preparation bound to this live hosted agent and account. Requires account:read. The original signing deadline is preserved.
cURL
curl --request GET \
--url http://localhost:4100/v1/agents/me/prepared-actions/{projectId}/{actionId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/agents/me/prepared-actions/{projectId}/{actionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"actionId": "<string>",
"chainId": 84532,
"core": "<string>",
"asset": "<string>",
"mandateId": "<string>",
"gasPolicyId": "<string>",
"agent": "<string>",
"recipient": "<string>",
"amountBaseUnits": "<string>",
"relayerMode": "gol",
"maxChargeWei": "<string>",
"digest": "<string>",
"typedData": {
"domain": {
"name": "GOL Mandate",
"version": "3",
"chainId": 84532,
"verifyingContract": "<string>"
},
"types": {
"GasActionAuthorization": [
{
"name": "<string>",
"type": "<string>"
}
]
},
"primaryType": "GasActionAuthorization",
"message": {
"mandateId": "<string>",
"actionTag": 1,
"schemaVersion": 1,
"actionId": "<string>",
"capabilityDigest": "<string>",
"deadline": 123,
"inputHash": "<string>",
"gasPolicyId": "<string>",
"maxCharge": "<string>"
}
}
}{
"error": {
"code": "hosted_signing_rate_limited",
"message": "<string>"
},
"retryAfterSeconds": 30
}Authorizations
Path Parameters
Response
Default Response