cURL
curl --request POST \
--url http://localhost:4100/v1/projects/{projectId}/gas-executions/{executionId}/transactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"rawSignedTransaction": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({rawSignedTransaction: '<string>'})
};
fetch('http://localhost:4100/v1/projects/{projectId}/gas-executions/{executionId}/transactions', 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",
"relayerMode": "gol",
"submitter": "<string>",
"state": "<string>",
"quote": {
"maxChargeWei": "<string>",
"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>",
"refusalCode": "<string>",
"settledWei": "<string>",
"unpaidWei": "<string>",
"overchargeWei": "<string>"
},
"settlement": {
"kind": "inline",
"outcome": "success",
"gasUnits": "<string>",
"gasPriceWei": "<string>",
"declaredL1FeeWei": "<string>",
"declaredOperatorFeeWei": "<string>",
"chargedWei": "<string>",
"paid": true,
"recipient": "<string>",
"submitter": "<string>"
},
"transaction": {
"to": "<string>",
"data": "<string>",
"chainId": 84532,
"gasLimit": "<string>",
"maxFeePerGasWei": "<string>",
"submitter": "<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
Post v1projects gas executions transactions
cURL
curl --request POST \
--url http://localhost:4100/v1/projects/{projectId}/gas-executions/{executionId}/transactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"rawSignedTransaction": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({rawSignedTransaction: '<string>'})
};
fetch('http://localhost:4100/v1/projects/{projectId}/gas-executions/{executionId}/transactions', 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",
"relayerMode": "gol",
"submitter": "<string>",
"state": "<string>",
"quote": {
"maxChargeWei": "<string>",
"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>",
"refusalCode": "<string>",
"settledWei": "<string>",
"unpaidWei": "<string>",
"overchargeWei": "<string>"
},
"settlement": {
"kind": "inline",
"outcome": "success",
"gasUnits": "<string>",
"gasPriceWei": "<string>",
"declaredL1FeeWei": "<string>",
"declaredOperatorFeeWei": "<string>",
"chargedWei": "<string>",
"paid": true,
"recipient": "<string>",
"submitter": "<string>"
},
"transaction": {
"to": "<string>",
"data": "<string>",
"chainId": 84532,
"gasLimit": "<string>",
"maxFeePerGasWei": "<string>",
"submitter": "<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.
Body
application/json
Pattern:
^0x02[0-9a-fA-F]{2,16384}$Response
Default Response
Available options:
test Available options:
owner_reimbursement Available options:
gol 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
Show child attributes
Show child attributes
Show child attributes
Show child attributes