|
1507 | 1507 | "type": "string" |
1508 | 1508 | } |
1509 | 1509 | } |
| 1510 | + }, |
| 1511 | + "Relayer_ListGasSponsors_Request": { |
| 1512 | + "type": "object", |
| 1513 | + "properties": { |
| 1514 | + "projectId": { |
| 1515 | + "type": "number" |
| 1516 | + }, |
| 1517 | + "page": { |
| 1518 | + "$ref": "#/components/schemas/Page" |
| 1519 | + } |
| 1520 | + } |
| 1521 | + }, |
| 1522 | + "Relayer_ListGasSponsors_Response": { |
| 1523 | + "type": "object", |
| 1524 | + "properties": { |
| 1525 | + "page": { |
| 1526 | + "$ref": "#/components/schemas/Page" |
| 1527 | + }, |
| 1528 | + "gasSponsors": { |
| 1529 | + "type": "array", |
| 1530 | + "description": "[]GasSponsor", |
| 1531 | + "items": { |
| 1532 | + "$ref": "#/components/schemas/GasSponsor" |
| 1533 | + } |
| 1534 | + } |
| 1535 | + } |
| 1536 | + }, |
| 1537 | + "Relayer_AddGasSponsor_Request": { |
| 1538 | + "type": "object", |
| 1539 | + "properties": { |
| 1540 | + "projectId": { |
| 1541 | + "type": "number" |
| 1542 | + }, |
| 1543 | + "address": { |
| 1544 | + "type": "string" |
| 1545 | + }, |
| 1546 | + "name": { |
| 1547 | + "type": "string" |
| 1548 | + }, |
| 1549 | + "active": { |
| 1550 | + "type": "boolean" |
| 1551 | + } |
| 1552 | + } |
| 1553 | + }, |
| 1554 | + "Relayer_AddGasSponsor_Response": { |
| 1555 | + "type": "object", |
| 1556 | + "properties": { |
| 1557 | + "status": { |
| 1558 | + "type": "boolean" |
| 1559 | + }, |
| 1560 | + "gasSponsor": { |
| 1561 | + "$ref": "#/components/schemas/GasSponsor" |
| 1562 | + } |
| 1563 | + } |
1510 | 1564 | } |
1511 | 1565 | }, |
1512 | 1566 | "securitySchemes": { |
|
1883 | 1937 | } |
1884 | 1938 | ] |
1885 | 1939 | } |
| 1940 | + }, |
| 1941 | + "/rpc/Relayer/ListGasSponsors": { |
| 1942 | + "post": { |
| 1943 | + "summary": "Gas Sponsorship", |
| 1944 | + "requestBody": { |
| 1945 | + "content": { |
| 1946 | + "application/json": { |
| 1947 | + "schema": { |
| 1948 | + "$ref": "#/components/schemas/Relayer_ListGasSponsors_Request" |
| 1949 | + } |
| 1950 | + } |
| 1951 | + } |
| 1952 | + }, |
| 1953 | + "responses": { |
| 1954 | + "200": { |
| 1955 | + "description": "OK", |
| 1956 | + "content": { |
| 1957 | + "application/json": { |
| 1958 | + "schema": { |
| 1959 | + "$ref": "#/components/schemas/Relayer_ListGasSponsors_Response" |
| 1960 | + } |
| 1961 | + } |
| 1962 | + } |
| 1963 | + }, |
| 1964 | + "4XX": { |
| 1965 | + "description": "Client error", |
| 1966 | + "content": { |
| 1967 | + "application/json": { |
| 1968 | + "schema": { |
| 1969 | + "oneOf": [ |
| 1970 | + { "$ref": "#/components/schemas/ErrorWebrpcEndpoint" }, |
| 1971 | + { "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" }, |
| 1972 | + { "$ref": "#/components/schemas/ErrorWebrpcBadRoute" }, |
| 1973 | + { "$ref": "#/components/schemas/ErrorWebrpcBadMethod" }, |
| 1974 | + { "$ref": "#/components/schemas/ErrorWebrpcBadRequest" }, |
| 1975 | + { "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" }, |
| 1976 | + { "$ref": "#/components/schemas/ErrorWebrpcStreamLost" }, |
| 1977 | + { "$ref": "#/components/schemas/ErrorUnauthorized" }, |
| 1978 | + { "$ref": "#/components/schemas/ErrorPermissionDenied" }, |
| 1979 | + { "$ref": "#/components/schemas/ErrorMethodNotFound" }, |
| 1980 | + { "$ref": "#/components/schemas/ErrorRequestConflict" }, |
| 1981 | + { "$ref": "#/components/schemas/ErrorAborted" }, |
| 1982 | + { "$ref": "#/components/schemas/ErrorGeoblocked" }, |
| 1983 | + { "$ref": "#/components/schemas/ErrorInvalidArgument" }, |
| 1984 | + { "$ref": "#/components/schemas/ErrorUnavailable" }, |
| 1985 | + { "$ref": "#/components/schemas/ErrorQueryFailed" }, |
| 1986 | + { "$ref": "#/components/schemas/ErrorNotFound" }, |
| 1987 | + { "$ref": "#/components/schemas/ErrorInsufficientFee" } |
| 1988 | + ] |
| 1989 | + } |
| 1990 | + } |
| 1991 | + } |
| 1992 | + }, |
| 1993 | + "5XX": { |
| 1994 | + "description": "Server error", |
| 1995 | + "content": { |
| 1996 | + "application/json": { |
| 1997 | + "schema": { |
| 1998 | + "oneOf": [ |
| 1999 | + { "$ref": "#/components/schemas/ErrorWebrpcBadResponse" }, |
| 2000 | + { "$ref": "#/components/schemas/ErrorWebrpcServerPanic" }, |
| 2001 | + { "$ref": "#/components/schemas/ErrorWebrpcInternalError" } |
| 2002 | + ] |
| 2003 | + } |
| 2004 | + } |
| 2005 | + } |
| 2006 | + } |
| 2007 | + }, |
| 2008 | + "security": [ |
| 2009 | + { "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] } |
| 2010 | + ] |
| 2011 | + } |
| 2012 | + }, |
| 2013 | + "/rpc/Relayer/AddGasSponsor": { |
| 2014 | + "post": { |
| 2015 | + "summary": "", |
| 2016 | + "requestBody": { |
| 2017 | + "content": { |
| 2018 | + "application/json": { |
| 2019 | + "schema": { |
| 2020 | + "$ref": "#/components/schemas/Relayer_AddGasSponsor_Request" |
| 2021 | + } |
| 2022 | + } |
| 2023 | + } |
| 2024 | + }, |
| 2025 | + "responses": { |
| 2026 | + "200": { |
| 2027 | + "description": "OK", |
| 2028 | + "content": { |
| 2029 | + "application/json": { |
| 2030 | + "schema": { |
| 2031 | + "$ref": "#/components/schemas/Relayer_AddGasSponsor_Response" |
| 2032 | + } |
| 2033 | + } |
| 2034 | + } |
| 2035 | + }, |
| 2036 | + "4XX": { |
| 2037 | + "description": "Client error", |
| 2038 | + "content": { |
| 2039 | + "application/json": { |
| 2040 | + "schema": { |
| 2041 | + "oneOf": [ |
| 2042 | + { "$ref": "#/components/schemas/ErrorWebrpcEndpoint" }, |
| 2043 | + { "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" }, |
| 2044 | + { "$ref": "#/components/schemas/ErrorWebrpcBadRoute" }, |
| 2045 | + { "$ref": "#/components/schemas/ErrorWebrpcBadMethod" }, |
| 2046 | + { "$ref": "#/components/schemas/ErrorWebrpcBadRequest" }, |
| 2047 | + { "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" }, |
| 2048 | + { "$ref": "#/components/schemas/ErrorWebrpcStreamLost" }, |
| 2049 | + { "$ref": "#/components/schemas/ErrorUnauthorized" }, |
| 2050 | + { "$ref": "#/components/schemas/ErrorPermissionDenied" }, |
| 2051 | + { "$ref": "#/components/schemas/ErrorMethodNotFound" }, |
| 2052 | + { "$ref": "#/components/schemas/ErrorRequestConflict" }, |
| 2053 | + { "$ref": "#/components/schemas/ErrorAborted" }, |
| 2054 | + { "$ref": "#/components/schemas/ErrorGeoblocked" }, |
| 2055 | + { "$ref": "#/components/schemas/ErrorInvalidArgument" }, |
| 2056 | + { "$ref": "#/components/schemas/ErrorUnavailable" }, |
| 2057 | + { "$ref": "#/components/schemas/ErrorQueryFailed" }, |
| 2058 | + { "$ref": "#/components/schemas/ErrorNotFound" }, |
| 2059 | + { "$ref": "#/components/schemas/ErrorInsufficientFee" } |
| 2060 | + ] |
| 2061 | + } |
| 2062 | + } |
| 2063 | + } |
| 2064 | + }, |
| 2065 | + "5XX": { |
| 2066 | + "description": "Server error", |
| 2067 | + "content": { |
| 2068 | + "application/json": { |
| 2069 | + "schema": { |
| 2070 | + "oneOf": [ |
| 2071 | + { "$ref": "#/components/schemas/ErrorWebrpcBadResponse" }, |
| 2072 | + { "$ref": "#/components/schemas/ErrorWebrpcServerPanic" }, |
| 2073 | + { "$ref": "#/components/schemas/ErrorWebrpcInternalError" } |
| 2074 | + ] |
| 2075 | + } |
| 2076 | + } |
| 2077 | + } |
| 2078 | + } |
| 2079 | + }, |
| 2080 | + "security": [ |
| 2081 | + { "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] } |
| 2082 | + ] |
| 2083 | + } |
1886 | 2084 | } |
1887 | 2085 | }, |
1888 | 2086 | "servers": [ |
|
2022 | 2220 | "url": "https://soneium-minato-relayer.sequence.app", |
2023 | 2221 | "description": "Soneium-Minato Relayer" |
2024 | 2222 | }, |
| 2223 | + { |
| 2224 | + "url": "https://soneium-relayer.sequence.app", |
| 2225 | + "description": "Soneium Relayer" |
| 2226 | + }, |
2025 | 2227 | { |
2026 | 2228 | "url": "https://toy-testnet-relayer.sequence.app", |
2027 | 2229 | "description": "Toy-Testnet Relayer" |
|
0 commit comments