Skip to content

Commit

Permalink
add missing ftm api
Browse files Browse the repository at this point in the history
  • Loading branch information
oren-lava committed Dec 1, 2024
1 parent 4649ebe commit dc29205
Showing 1 changed file with 288 additions and 0 deletions.
288 changes: 288 additions & 0 deletions cookbook/specs/fantom.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,24 @@
"add_on": ""
},
"apis": [
{
"name": "ftm_accounts",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": false,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_chainId",
"block_parsing": {
Expand Down Expand Up @@ -67,6 +85,42 @@
},
"extra_compute_units": 0
},
{
"name": "ftm_coinbase",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": false,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_syncing",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": false,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_subscribe",
"block_parsing": {
Expand Down Expand Up @@ -139,6 +193,78 @@
},
"extra_compute_units": 0
},
{
"name": "ftm_newBlockFilter",
"block_parsing": {
"parser_arg": [
""
],
"parser_func": "EMPTY"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": false,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_newFilter",
"block_parsing": {
"parser_arg": [
""
],
"parser_func": "EMPTY"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": false,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_newPendingTransactionFilter",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": false,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_uninstallFilter",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": false,
"local": true,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_createAccessList",
"block_parsing": {
Expand Down Expand Up @@ -229,6 +355,24 @@
},
"extra_compute_units": 0
},
{
"name": "ftm_getBlockReceipts",
"block_parsing": {
"parser_arg": [
"0"
],
"parser_func": "PARSE_BY_ARG"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_getStorageAt",
"block_parsing": {
Expand Down Expand Up @@ -320,6 +464,132 @@
},
"extra_compute_units": 0
},
{
"name": "ftm_getFilterChanges",
"block_parsing": {
"parser_arg": [
"1"
],
"parser_func": "PARSE_BY_ARG"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": false,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_getFilterLogs",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 60,
"enabled": true,
"category": {
"deterministic": false,
"local": true,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_getLogs",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 60,
"enabled": true,
"category": {
"deterministic": false,
"local": true,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_getUncleByBlockHashAndIndex",
"block_parsing": {
"parser_arg": [
""
],
"parser_func": "EMPTY"
},
"compute_units": 15,
"enabled": true,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_getUncleByBlockNumberAndIndex",
"block_parsing": {
"parser_arg": [
""
],
"parser_func": "EMPTY"
},
"compute_units": 15,
"enabled": true,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_getUncleCountByBlockHash",
"block_parsing": {
"parser_arg": [
""
],
"parser_func": "EMPTY"
},
"compute_units": 15,
"enabled": true,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_getUncleCountByBlockNumber",
"block_parsing": {
"parser_arg": [
""
],
"parser_func": "EMPTY"
},
"compute_units": 15,
"enabled": true,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_sign",
"block_parsing": {
Expand Down Expand Up @@ -482,6 +752,24 @@
},
"extra_compute_units": 0
},
{
"name": "ftm_hashrate",
"block_parsing": {
"parser_arg": [
""
],
"parser_func": "EMPTY"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": false,
"local": true,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "ftm_estimateGas",
"block_parsing": {
Expand Down

0 comments on commit dc29205

Please sign in to comment.