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>",
"asset": {
"address": "<string>",
"symbol": "USDC",
"decimals": 6
},
"capabilityDigest": "<string>",
"gasRecipient": "<string>",
"attester": "<string>",
"relayer": "<string>",
"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>",
"asset": {
"address": "<string>",
"symbol": "USDC",
"decimals": 6
},
"capabilityDigest": "<string>",
"gasRecipient": "<string>",
"attester": "<string>",
"relayer": "<string>",
"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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Available options:
test Response
Default Response
Available options:
test Available options:
84532 Pattern:
^0x[0-9a-fA-F]{40}$Pattern:
^0x[0-9a-fA-F]{40}$Show child attributes
Show child attributes
Pattern:
^0x[0-9a-fA-F]{64}$Pattern:
^0x[0-9a-fA-F]{40}$Pattern:
^0x[0-9a-fA-F]{40}$Pattern:
^0x[0-9a-fA-F]{40}$Show child attributes
Show child attributes
Show child attributes
Show child attributes