cURL
curl --request GET \
--url http://localhost:4100/v1/projects/{projectId}/gas-configuration \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/projects/{projectId}/gas-configuration', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"environment": "test",
"chainId": 84532,
"core": "<string>",
"gasRouter": "<string>",
"domainVersion": "3",
"formulaVersion": 2,
"asset": {
"address": "<string>",
"symbol": "USDC",
"decimals": 6
},
"capabilityDigest": "<string>",
"gasRecipient": "<string>",
"attester": "<string>",
"relayer": "<string>",
"relayerModes": [
"gol"
],
"eip7702": {
"delegate": "<string>",
"delegateCodeHash": "<string>",
"bootstrap": "<string>",
"defaultValidator": "<string>",
"sponsorship": {
"available": true,
"perProjectDailyLimit": 123
}
},
"trees": {
"maxDepth": 123,
"maxActiveDescendants": 123,
"sponsorship": {
"available": true,
"perProjectDailyLimit": 123
}
},
"profiles": [
{
"family": "safe",
"profileId": "<string>",
"implementation": "<string>",
"label": "<string>"
}
],
"limits": {
"recommendedPerActionWei": "<string>",
"maxPerActionWei": "<string>",
"maxTotalWei": "<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-policies
Get v1projects gas configuration
cURL
curl --request GET \
--url http://localhost:4100/v1/projects/{projectId}/gas-configuration \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4100/v1/projects/{projectId}/gas-configuration', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"environment": "test",
"chainId": 84532,
"core": "<string>",
"gasRouter": "<string>",
"domainVersion": "3",
"formulaVersion": 2,
"asset": {
"address": "<string>",
"symbol": "USDC",
"decimals": 6
},
"capabilityDigest": "<string>",
"gasRecipient": "<string>",
"attester": "<string>",
"relayer": "<string>",
"relayerModes": [
"gol"
],
"eip7702": {
"delegate": "<string>",
"delegateCodeHash": "<string>",
"bootstrap": "<string>",
"defaultValidator": "<string>",
"sponsorship": {
"available": true,
"perProjectDailyLimit": 123
}
},
"trees": {
"maxDepth": 123,
"maxActiveDescendants": 123,
"sponsorship": {
"available": true,
"perProjectDailyLimit": 123
}
},
"profiles": [
{
"family": "safe",
"profileId": "<string>",
"implementation": "<string>",
"label": "<string>"
}
],
"limits": {
"recommendedPerActionWei": "<string>",
"maxPerActionWei": "<string>",
"maxTotalWei": "<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
Response
Default Response