cURL
curl --request GET \
--url http://localhost:4100/v1/projects/{projectId}/gas-executions/{executionId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/projects/{projectId}/gas-executions/{executionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contractProjectId": "<string>",
"environment": "test",
"chainId": 123,
"account": "<string>",
"agent": "<string>",
"core": "<string>",
"accountProfileId": "<string>",
"installEpoch": "<string>",
"mandateId": "<string>",
"actionId": "<string>",
"gasPolicyId": "<string>",
"payer": "owner_reimbursement",
"state": "<string>",
"quote": {
"acceptedOwnerMaximumWei": "<string>",
"maximumNetworkWei": "<string>",
"maximumGolExposureWei": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"formulaVersion": 123,
"chargeableOutcomesMask": 123
},
"transactionHashes": [
"<string>"
],
"broadcasts": [
{
"transactionHash": "<string>",
"providerId": "<string>",
"outcome": "accepted",
"observedAt": "2023-11-07T05:31:56Z"
}
],
"receipt": {
"transactionHash": "<string>",
"blockHash": "<string>",
"blockNumber": "<string>",
"finalizedBlockNumber": "<string>",
"outcome": "success",
"gasUsed": "<string>",
"effectiveGasPrice": "<string>",
"executionWei": "<string>",
"l1DataWei": "<string>",
"operatorWei": "<string>",
"totalNetworkWei": "<string>",
"eligibleOwnerWei": "<string>",
"golLossWei": "<string>",
"developerCostWei": "<string>"
},
"claimReceipt": {
"claimTransactionHash": "<string>",
"blockHash": "<string>",
"blockNumber": "<string>",
"finalizedBlockNumber": "<string>",
"collectedWei": "<string>",
"golClaimNetworkCostWei": "<string>",
"status": "collected"
},
"ledger": [
{
"category": "<string>",
"amountWei": "<string>",
"transactionHash": "<string>"
}
],
"disputes": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "open",
"reason": "<string>",
"openedAt": "2023-11-07T05:31:56Z",
"resolvedAt": "2023-11-07T05:31:56Z",
"resolution": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}gas-executions
Get v1projects gas executions 1
cURL
curl --request GET \
--url http://localhost:4100/v1/projects/{projectId}/gas-executions/{executionId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/projects/{projectId}/gas-executions/{executionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contractProjectId": "<string>",
"environment": "test",
"chainId": 123,
"account": "<string>",
"agent": "<string>",
"core": "<string>",
"accountProfileId": "<string>",
"installEpoch": "<string>",
"mandateId": "<string>",
"actionId": "<string>",
"gasPolicyId": "<string>",
"payer": "owner_reimbursement",
"state": "<string>",
"quote": {
"acceptedOwnerMaximumWei": "<string>",
"maximumNetworkWei": "<string>",
"maximumGolExposureWei": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"formulaVersion": 123,
"chargeableOutcomesMask": 123
},
"transactionHashes": [
"<string>"
],
"broadcasts": [
{
"transactionHash": "<string>",
"providerId": "<string>",
"outcome": "accepted",
"observedAt": "2023-11-07T05:31:56Z"
}
],
"receipt": {
"transactionHash": "<string>",
"blockHash": "<string>",
"blockNumber": "<string>",
"finalizedBlockNumber": "<string>",
"outcome": "success",
"gasUsed": "<string>",
"effectiveGasPrice": "<string>",
"executionWei": "<string>",
"l1DataWei": "<string>",
"operatorWei": "<string>",
"totalNetworkWei": "<string>",
"eligibleOwnerWei": "<string>",
"golLossWei": "<string>",
"developerCostWei": "<string>"
},
"claimReceipt": {
"claimTransactionHash": "<string>",
"blockHash": "<string>",
"blockNumber": "<string>",
"finalizedBlockNumber": "<string>",
"collectedWei": "<string>",
"golClaimNetworkCostWei": "<string>",
"status": "collected"
},
"ledger": [
{
"category": "<string>",
"amountWei": "<string>",
"transactionHash": "<string>"
}
],
"disputes": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "open",
"reason": "<string>",
"openedAt": "2023-11-07T05:31:56Z",
"resolvedAt": "2023-11-07T05:31:56Z",
"resolution": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"correlationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Available options:
test Response
Default Response
Available options:
test Available options:
owner_reimbursement Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes