EVM methods

eth_accounts

Returns array of all accounts owned by the client.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc": "2.0", "method": "eth_accounts", "id": 1, "params": []}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": []
}

eth_chainId

Returns the currently configured chain ID, a value used in replay-protected transaction signing as introduced by EIP-155.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{ "id": 1,"jsonrpc": "2.0","method": "eth_chainId" }

Example response: 200

{
    "jsonrpc": "2.0",
    "result": "0x13a",
    "id": 1
}

eth_blockNumber

Returns the number of most recent block.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc": "2.0", "method": "eth_blockNumber", "id": 1, "params": []}

Example response: 200

{
    "jsonrpc": "2.0",
    "result": "0x3af634",
    "id": 1
}

eth_call

Executes a new message call immediately without creating a transaction on the block chain.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_call","params":[{ "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567" }, "latest"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x"
}

eth_estimateGas

Generates and returns an estimate of how much gas is necessary to allow the transaction to complete. The transaction will not be added to the blockchain. Note that the estimate may be significantly more than the amount of gas actually used by the transaction, for a variety of reasons including EVM mechanics and node performance.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_estimateGas","params":[{ "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567" }, "latest"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "result": "0x5d97bc",
    "id": 1
}

eth_gasPrice

Returns the current gas price in the default EVM denomination parameter.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc": "2.0", "method": "eth_gasPrice", "id": 1, "params": []}

Example response: 200

{
    "jsonrpc": "2.0",
    "result": "0x30bb3",
    "id": 1
}

eth_getBalance

Returns the balance of the account of given address.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getBalance","params":["0x407d73d8a49eeb85d32cf465507dd71d507100c1", "latest"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x0"
}

eth_getBlockByHash

Returns information about a block by hash.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getBlockByHash","params":["0xdc0818cf78f21a8e70579cb46a43643f78291264dda342ae31049421c82d21ae", false],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": 1,
        "message": "error loading tipset <nil>: cannot find tipset with cid bafy2bzacedoaqggppdzbvdtqk6oli2sdmq7xqkismto2gqvogecjiioifuq24: ipld: could not find bafy2bzacedoaqggppdzbvdtqk6oli2sdmq7xqkismto2gqvogecjiioifuq24"
    }
}

eth_getBlockByNumber

Returns information about a block by block number.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x1b4", true],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": 1,
        "message": "failed to retrieve messages and receipts: error loading messages for tipset: [bafy2bzacecalpksny7yk4qaj4c4bc2d3s3grnf6sm4bdwqp42ihodhkuedcby bafy2bzaceatkh6ezlkjphxzl63dsfinjjeie6s7fa2h67hayrvgu37fgsobfc]: failed to load state tree at tipset [bafy2bzacecalpksny7yk4qaj4c4bc2d3s3grnf6sm4bdwqp42ihodhkuedcby bafy2bzaceatkh6ezlkjphxzl63dsfinjjeie6s7fa2h67hayrvgu37fgsobfc]: failed to load state tree bafy2bzacec4p6r22ycmt4ih4wcfknrfltdkbaxdqeb6dea4sqxzwvsur6vcuy: failed to load hamt node: ipld: could not find bafy2bzacec4p6r22ycmt4ih4wcfknrfltdkbaxdqeb6dea4sqxzwvsur6vcuy"
    }
}

eth_getBlockTransactionCountByHash

Returns the number of transactions in a block matching the given block hash.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByHash","params":["0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": 1,
        "message": "error loading tipset <nil>: cannot find tipset with cid bafy2bzacec4qgi47qvb5as25yg5gk6itfmkdbb6grwy3efuhqzai7s6ok2bdq: ipld: could not find bafy2bzacec4qgi47qvb5as25yg5gk6itfmkdbb6grwy3efuhqzai7s6ok2bdq"
    }
}

eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block from a block matching the given block number.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getBlockTransactionCountByNumber","params":["0xe8"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": 1,
        "message": "error loading messages for tipset: [bafy2bzacednu5gtf42wsbnepiskeicqlbgky6vh6lkrrmlfg6u2cuqkwoffe2]: failed to load state tree at tipset [bafy2bzacednu5gtf42wsbnepiskeicqlbgky6vh6lkrrmlfg6u2cuqkwoffe2]: failed to load state tree bafy2bzacebntpq3ciilzhph3p3b5dbn2ikrxfpk7yoy5klk6tozrejetcfyeg: failed to load hamt node: ipld: could not find bafy2bzacebntpq3ciilzhph3p3b5dbn2ikrxfpk7yoy5klk6tozrejetcfyeg"
    }
}

eth_getCode

Returns code at a given address.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getCode","params":["0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", "latest"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "result": "0x",
    "id": 1
}

eth_getFilterChanges

Polling method for a filter, which returns an array of logs which occurred since last poll.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getFilterChanges","params":["0x16"],"id":73}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 73,
    "error": {
        "code": -32700,
        "message": "unmarshaling params for 'eth_getFilterChanges' (param: *ethtypes.EthFilterID): expected hex string length sans prefix 64, got 2"
    }
}

eth_getFilterLogs

Returns an array of all logs matching filter with given id.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getFilterLogs","params":["0x16"],"id":74}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 74,
    "error": {
        "code": -32700,
        "message": "unmarshaling params for 'eth_getFilterLogs' (param: *ethtypes.EthFilterID): expected hex string length sans prefix 64, got 2"
    }
}

eth_getStorageAt

Returns the value from a storage position at a given address.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0", "method": "eth_getStorageAt","params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x0", "latest"],"id": 1}

Example response: 200

{
    "jsonrpc": "2.0",
    "result": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "id": 1
}

eth_getTransactionByBlockHashAndIndex

Returns information about a transaction given a blockhash and transaction index position

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{
    "method": "eth_getTransactionByBlockHashAndIndex",
    "params": ["0xb3845e2f519384d45b45ce2d211caca012a183afe0ccb825d80cf395a5250abc", "0x5"],
    "id": 1,
    "jsonrpc": "2.0"
}

Example response: 200

{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "chainId": "0x13a",
        "nonce": "0x1603c",
        "hash": "0x7dc62ff56bd77e0153037d1131e1e2072dadcfa373b62626d6ef3ebf28326402",
        "blockHash": "0xb3845e2f519384d45b45ce2d211caca012a183afe0ccb825d80cf395a5250abc",
        "blockNumber": "0x44f060",
        "transactionIndex": "0x5",
        "from": "0xff00000000000000000000000000000000319046",
        "to": "0xff00000000000000000000000000000000313c2c",
        "value": "0x0",
        "type": "0x2",
        "input": "0x868e10c400000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000051000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000007db86818219b4f78184d82a5828000181e203922020bf34150bd825e001e98d11a8649b391b7eda6299852b63305969c49d8670043d1b0000000800000000821a003201ff1a0504be6c8182420005451a05fa363d81590780a94caa7cdae1906c58d9b32ba657e6616cbcf0a92e7cfb60a50c4fcaaaf23d6a58286deaac62766a34b3ca834f0e31e184d7c2bfca8aeeb92b4a6ee9d0f5142d8daf979d6901b5fa11ee1effa931bdf3c21de86f0f8f629ca11d604577d594f110497db1ed233621fa2a05c278c040e572588773fab53c6eaa98a88b938b51197d3513d4bf28b478329c49f2f417dbddb6856bbffbb235baf687c3f531348443ac5393bd73f87341df573d4f04fd9f7ec741af81621279837c939d0343f9c0298803d3debd69ccbcb6fcca293607d11da6cb947eeb84f4b8e3c04f35ac67a0b18fc150c2e5a43a331c5f6cefdf4560f990a60e7c56b5d797c18fde977f73b672c2a363bb5f5027346ed8a39f8385e6ac2cc7ade8669804acdbc136d1a897b419000809ee8b678c7446d0694e2991782221edecb7c6ece164b502c1793ae5d543afc1adf6fdc46691e95ebd9bb65c0d9a91a7dfe752ae08c985b9dff101f9238dba88bf6e32093dfbaa914e58c325429ea1869ec1de0d9e85914d250cf84408ef87fd2ece601dd2c88c00de951b4384d4cc35741e7c0d7dffcfc6707915984744bcba91808de6aba932b9e798fe60450084f2022f901254c84f1732316dd788f1e306e431ffa685d321145270371ec196a400f193f8f1d428cb7892d703d0b8ab089c89c5bcc6cfbac1d4d4504f73ad14c07fd41f024de1548e2a79d0b7d383bcdaaf3829bb36194a8f6af80999e74f92acb69f912fe370cb1e885dfb16714aa8f31b58b93419b627fa4438c979d60867a3f85e81bcb5ffac5c1cb646ab51a140988af58ba55a75b02d9f2605d7d8c6e71ede5d78328f0859258fa366dea6e1b2946f5eafb0f5d5ac3acc8d8be3681a08a351f64f1217d8818c0a89b465d6b3e13f5547cb7d3b5b4260b632c7306672659514f6c099fdc19b903a4a92f4f4dc8007380613100dfbb80b4059387748899a87dcfbaf40b838b4de82953bfa819a57cd6a60894cfb658b2d2a8d9179caa681b74dd1396455a8019e9e70536268e8997bc1ea800c8f8dcd0351e900c8c22ae9444e2d814fa1586faae9ce146d35f48a83f41b3ed60f3d071336a5cb816f09309b8b106d24c6f83a180ea4e90a5b6fa083cdd143501a7f1bbbd331a6d7f846f793f8d24ffdfaf7739c7565048b4e4efd5cfda4b0c621726bf4c85d95c70819edb67e7bf8f0945b706b57bdc6c23c089700386e38964ea4ec16cb24bf28eeb00d984929fe93ed9c395bd919542ad4a7010c8da03b72249499827b850851c73b47860ed5719b59ddecf4b1b6a0ccca5c12ce0125f80c941218ff4435ae5b067e42104653f251e0e5fdf42cf7182ed3e18b92554478a326061b30a2dc96894910c6c3c62af4b50b5667ec7de33b026ead252a6c3fddafe972e159ed28cff9483149b904febb9b6efec9dc8b71f8d5979af1d6be86fb593e0aff416956c6e02976be4f3323b624b22187c22c4d0a82b27c8b035d613e71f68b5f7c3712218b6e74a587ad4e12534c86b099529dd69ae801e91bb356eaf2e100e64779bc94bd3e5420b79a31fde4e0ddfeca04893f5aed696e915a3b3ec84d5d0ba3bf4a2a97857824af654c70a93403ed3ea996a8c8ec47ff8663f1389b379f9ece017d627c572894b1fe6628d383c64885dbce649ed88a0230424973d0214bc511bd2f2a8a4724208741cecd0965ae30b068fd8b493221b2c1f5d5f5ae708699d026c4752dd5b1992f318a4ca8ad7c75c0f7d3485e11c5e4012b0d5c634d8704bf566fa31026893b15053dd614f970d474ad61e09165f37e1caae30ea73e86abf65db9e2979572f081f118ebee6bfb38e222face4536cdf8bd0ecf2f286d5f9e9c7b25df8c261baf01a7cca01e6e798e57b482ce2ffd303882c6720b9ffabc301ce6134dcfdebfde96d7641f651fdc0584142f9b138bd178b8d9fe5cd1982721e5d97f3f924ea292818318d6a2e96f73dfa18547c998ec6a7668d6687a8d72f9cc08e1c5f8eec2d532dccda8e211f29ce89b9ee6e7a10ede161528f36a7b87462658a6ff2783b63f14785cce5797d63c0d705f6e989c43050064d3337d03c533bb5d5a611126d44dae956d4e4dc64a8f64680fcd89049e9e887b7f34f3a3c15f034bcfba2ec35ddf8470fee7257c5ffbbb672785f4a2f54daeedf22853318e88fc5d37598a9d62e3197d7da1ee0d8694af864c8ba91c2bdde9ee1ef11d6590fe7d6bb732b97649068e2dcf06db4a9e871f784d97676e9589a1120e2c576f6cb8330f4b54985e66ff8aa47506eeb8556625e6d0f093de0e91081d3410aefe6b8026b3634f09e92fdcc01685f7e057aa9f092236197e3de8eb2bda177319bdf94f97e05a8aacbbf7abb4ab1ce77fb2b8bfed4f1337cebe0e1c96d3bf2713e10f3421b624a52ce7e5c93cd8394d7f4355d1dea40eb7210c3032b8ec075556ed9167f8d756e6a1825d64e1459cc0fac012c72dc3811569b0282d183795cf623eb0a72fb6c14865f92ce18e2b8e1d25830dbbfb02010d5ee5ffa09e0a16909f09466b98c66de994124fb5079277c2716c84602a275e7ff4ec61c818a8e0df1f52d13fab1e077674a7060d020d7c3a7eaed3f633448c210f1be5ec4d3d29c9daa37dc86db55d5f25aee185990b881d263d9271495b3af4b4b7bd78577c5dfd893b65757ea8dbea7f451bc0eb2b82a8c271ef6f8e21d7266c28070b40f6f4f40000000000",
        "gas": "0x14a9882d",
        "maxFeePerGas": "0x2540be400",
        "maxPriorityFeePerGas": "0x1270c46",
        "accessList": [],
        "v": "0x0",
        "r": "0x0",
        "s": "0x0"
    }
}

eth_getTransactionByBlockNumberAndIndex

Returns information about a transaction given a block number and transaction index position.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{
    "method": "eth_getTransactionByBlockNumberAndIndex",
    "params": ["0x44F060", "0x5"],
    "id": 1,
    "jsonrpc": "2.0"
}

Example response: 200

{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "chainId": "0x13a",
        "nonce": "0x1603c",
        "hash": "0x7dc62ff56bd77e0153037d1131e1e2072dadcfa373b62626d6ef3ebf28326402",
        "blockHash": "0xb3845e2f519384d45b45ce2d211caca012a183afe0ccb825d80cf395a5250abc",
        "blockNumber": "0x44f060",
        "transactionIndex": "0x5",
        "from": "0xff00000000000000000000000000000000319046",
        "to": "0xff00000000000000000000000000000000313c2c",
        "value": "0x0",
        "type": "0x2",
        "input": "0x868e10c400000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000051000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000007db86818219b4f78184d82a5828000181e203922020bf34150bd825e001e98d11a8649b391b7eda6299852b63305969c49d8670043d1b0000000800000000821a003201ff1a0504be6c8182420005451a05fa363d81590780a94caa7cdae1906c58d9b32ba657e6616cbcf0a92e7cfb60a50c4fcaaaf23d6a58286deaac62766a34b3ca834f0e31e184d7c2bfca8aeeb92b4a6ee9d0f5142d8daf979d6901b5fa11ee1effa931bdf3c21de86f0f8f629ca11d604577d594f110497db1ed233621fa2a05c278c040e572588773fab53c6eaa98a88b938b51197d3513d4bf28b478329c49f2f417dbddb6856bbffbb235baf687c3f531348443ac5393bd73f87341df573d4f04fd9f7ec741af81621279837c939d0343f9c0298803d3debd69ccbcb6fcca293607d11da6cb947eeb84f4b8e3c04f35ac67a0b18fc150c2e5a43a331c5f6cefdf4560f990a60e7c56b5d797c18fde977f73b672c2a363bb5f5027346ed8a39f8385e6ac2cc7ade8669804acdbc136d1a897b419000809ee8b678c7446d0694e2991782221edecb7c6ece164b502c1793ae5d543afc1adf6fdc46691e95ebd9bb65c0d9a91a7dfe752ae08c985b9dff101f9238dba88bf6e32093dfbaa914e58c325429ea1869ec1de0d9e85914d250cf84408ef87fd2ece601dd2c88c00de951b4384d4cc35741e7c0d7dffcfc6707915984744bcba91808de6aba932b9e798fe60450084f2022f901254c84f1732316dd788f1e306e431ffa685d321145270371ec196a400f193f8f1d428cb7892d703d0b8ab089c89c5bcc6cfbac1d4d4504f73ad14c07fd41f024de1548e2a79d0b7d383bcdaaf3829bb36194a8f6af80999e74f92acb69f912fe370cb1e885dfb16714aa8f31b58b93419b627fa4438c979d60867a3f85e81bcb5ffac5c1cb646ab51a140988af58ba55a75b02d9f2605d7d8c6e71ede5d78328f0859258fa366dea6e1b2946f5eafb0f5d5ac3acc8d8be3681a08a351f64f1217d8818c0a89b465d6b3e13f5547cb7d3b5b4260b632c7306672659514f6c099fdc19b903a4a92f4f4dc8007380613100dfbb80b4059387748899a87dcfbaf40b838b4de82953bfa819a57cd6a60894cfb658b2d2a8d9179caa681b74dd1396455a8019e9e70536268e8997bc1ea800c8f8dcd0351e900c8c22ae9444e2d814fa1586faae9ce146d35f48a83f41b3ed60f3d071336a5cb816f09309b8b106d24c6f83a180ea4e90a5b6fa083cdd143501a7f1bbbd331a6d7f846f793f8d24ffdfaf7739c7565048b4e4efd5cfda4b0c621726bf4c85d95c70819edb67e7bf8f0945b706b57bdc6c23c089700386e38964ea4ec16cb24bf28eeb00d984929fe93ed9c395bd919542ad4a7010c8da03b72249499827b850851c73b47860ed5719b59ddecf4b1b6a0ccca5c12ce0125f80c941218ff4435ae5b067e42104653f251e0e5fdf42cf7182ed3e18b92554478a326061b30a2dc96894910c6c3c62af4b50b5667ec7de33b026ead252a6c3fddafe972e159ed28cff9483149b904febb9b6efec9dc8b71f8d5979af1d6be86fb593e0aff416956c6e02976be4f3323b624b22187c22c4d0a82b27c8b035d613e71f68b5f7c3712218b6e74a587ad4e12534c86b099529dd69ae801e91bb356eaf2e100e64779bc94bd3e5420b79a31fde4e0ddfeca04893f5aed696e915a3b3ec84d5d0ba3bf4a2a97857824af654c70a93403ed3ea996a8c8ec47ff8663f1389b379f9ece017d627c572894b1fe6628d383c64885dbce649ed88a0230424973d0214bc511bd2f2a8a4724208741cecd0965ae30b068fd8b493221b2c1f5d5f5ae708699d026c4752dd5b1992f318a4ca8ad7c75c0f7d3485e11c5e4012b0d5c634d8704bf566fa31026893b15053dd614f970d474ad61e09165f37e1caae30ea73e86abf65db9e2979572f081f118ebee6bfb38e222face4536cdf8bd0ecf2f286d5f9e9c7b25df8c261baf01a7cca01e6e798e57b482ce2ffd303882c6720b9ffabc301ce6134dcfdebfde96d7641f651fdc0584142f9b138bd178b8d9fe5cd1982721e5d97f3f924ea292818318d6a2e96f73dfa18547c998ec6a7668d6687a8d72f9cc08e1c5f8eec2d532dccda8e211f29ce89b9ee6e7a10ede161528f36a7b87462658a6ff2783b63f14785cce5797d63c0d705f6e989c43050064d3337d03c533bb5d5a611126d44dae956d4e4dc64a8f64680fcd89049e9e887b7f34f3a3c15f034bcfba2ec35ddf8470fee7257c5ffbbb672785f4a2f54daeedf22853318e88fc5d37598a9d62e3197d7da1ee0d8694af864c8ba91c2bdde9ee1ef11d6590fe7d6bb732b97649068e2dcf06db4a9e871f784d97676e9589a1120e2c576f6cb8330f4b54985e66ff8aa47506eeb8556625e6d0f093de0e91081d3410aefe6b8026b3634f09e92fdcc01685f7e057aa9f092236197e3de8eb2bda177319bdf94f97e05a8aacbbf7abb4ab1ce77fb2b8bfed4f1337cebe0e1c96d3bf2713e10f3421b624a52ce7e5c93cd8394d7f4355d1dea40eb7210c3032b8ec075556ed9167f8d756e6a1825d64e1459cc0fac012c72dc3811569b0282d183795cf623eb0a72fb6c14865f92ce18e2b8e1d25830dbbfb02010d5ee5ffa09e0a16909f09466b98c66de994124fb5079277c2716c84602a275e7ff4ec61c818a8e0df1f52d13fab1e077674a7060d020d7c3a7eaed3f633448c210f1be5ec4d3d29c9daa37dc86db55d5f25aee185990b881d263d9271495b3af4b4b7bd78577c5dfd893b65757ea8dbea7f451bc0eb2b82a8c271ef6f8e21d7266c28070b40f6f4f40000000000",
        "gas": "0x14a9882d",
        "maxFeePerGas": "0x2540be400",
        "maxPriorityFeePerGas": "0x1270c46",
        "accessList": [],
        "v": "0x0",
        "r": "0x0",
        "s": "0x0"
    }
}

eth_getTransactionByHash

Returns the information about a transaction requested by transaction hash.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getTransactionByHash","params":["0x88df016429689c079f3b2f6ad39fa052532c56795b733da78a91ebe6a713944b"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": null
}

eth_getTransactionCount

Returns the number of transactions sent from an address.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getTransactionCount","params":["0x407d73d8a49eeb85d32cf465507dd71d507100c1","latest"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "result": "0x0",
    "id": 1
}

eth_getTransactionReceipt

Returns the receipt of a transaction by transaction hash.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": 1,
        "message": "failed to lookup Eth Txn 0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238 as bafy2bzacec4qgi47qvb5as25yg5gk6itfmkdbb6grwy3efuhqzai7s6ok2bdq: failed to load message: ipld: could not find bafy2bzacec4qgi47qvb5as25yg5gk6itfmkdbb6grwy3efuhqzai7s6ok2bdq"
    }
}

eth_sendRawTransaction

Creates new message call transaction or a contract creation for signed transactions.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"],"id":1}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": 1,
        "message": "legacy transaction is not supported"
    }
}

eth_syncing

The sync status object may need to be different depending on the details of Tendermint's sync protocol. However, the 'synced' result is simply a boolean, and can easily be derived from Tendermint's internal sync state.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc": "2.0", "method": "eth_syncing", "id": 1, "params": []}

Example response: 200

{
    "jsonrpc": "2.0",
    "result": false,
    "id": 1
}

eth_uninstallFilter

Uninstalls a filter with given id. Should always be called when watch is no longer needed.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc":"2.0","method":"eth_uninstallFilter","params":["0xb"],"id":73}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 73,
    "error": {
        "code": -32700,
        "message": "unmarshaling params for 'eth_uninstallFilter' (param: *ethtypes.EthFilterID): expected hex string length sans prefix 64, got 2"
    }
}

eth_maxPriorityFeePerGas

Returns a fee per gas that is an estimate of how much you can pay as a priority fee, or 'tip', to get a transaction included in the current block.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"id": 1,"jsonrpc": "2.0","method": "eth_maxPriorityFeePerGas"}

Example response: 200

{
    "jsonrpc": "2.0",
    "result": "0x31250",
    "id": 1
}

eth_feeHistory

Returns a collection of historical gas information.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"id": 1,"jsonrpc": "2.0","method": "eth_feeHistory","params": [4,4,4]}

Example response: 200

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": 1,
        "message": "decoding params: json: cannot unmarshal number into Go value of type []float64"
    }
}

eth_protocolVersion

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{
    "jsonrpc": "2.0",
    "method": "eth_protocolVersion",
    "params": [],
    "id": 67
}

Example response: 200

{
    "jsonrpc": "2.0",
    "result": "0x16",
    "id": 67
}

net_version

Returns the current network id.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc": "2.0", "method": "net_version", "id": 1, "params": []}

Example response: 200

{
    "jsonrpc": "2.0",
    "result": "314",
    "id": 1
}

net_listening

Returns true if client is actively listening for network connections.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "net_listening"
}

Example response: 200

{
    "jsonrpc": "2.0",
    "result": true,
    "id": 1
}

web3_clientVersion

Get the web3 client version.

Method: POST

https://fil.nownodes.io/rpc/v1

Example body (raw)

{"jsonrpc": "2.0", "method": "web3_clientVersion", "id": 1, "params": []}

Example response: 200

{
    "jsonrpc": "2.0",
    "result": "1.26.3+mainnet+git.7e4c4abb9",
    "id": 1
}

Last updated