Skip to content

Commit

Permalink
prettier json
Browse files Browse the repository at this point in the history
  • Loading branch information
joelamouche committed Nov 17, 2020
1 parent 8ac2cb3 commit 6d51efb
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions polkadot-js/frontier-rpc-types.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"eth": {
"accounts": { "description": "Returns accounts list.", "params": [], "type": "Vec<H160>" },
"accounts": {
"description": "Returns accounts list.",
"params": [],
"type": "Vec<H160>"
},
"blockNumber": {
"description": "Returns balance of the given account.",
"params": [],
Expand All @@ -19,7 +23,11 @@
"params": [],
"type": "U64"
},
"coinbase": { "description": "Returns block author.", "params": [], "type": "H160" },
"coinbase": {
"description": "Returns block author.",
"params": [],
"type": "H160"
},
"estimateGas": {
"description": "Estimate gas needed for execution of given contract.",
"params": [
Expand All @@ -28,7 +36,11 @@
],
"type": "U256"
},
"gasPrice": { "description": "Returns current gas_price.", "params": [], "type": "U256" },
"gasPrice": {
"description": "Returns current gas_price.",
"params": [],
"type": "U256"
},
"getBalance": {
"description": "Returns balance of the given account.",
"params": [
Expand Down Expand Up @@ -142,7 +154,9 @@
},
"getUncleCountByBlockNumber": {
"description": "Returns the number of uncles in a block with given block number.",
"params": [{ "isOptional": true, "name": "number", "type": "BlockNumber" }],
"params": [
{ "isOptional": true, "name": "number", "type": "BlockNumber" }
],
"type": "U256"
},
"getWork": {
Expand Down Expand Up @@ -222,6 +236,10 @@
"params": [],
"type": "String"
},
"version": { "description": "Returns protocol version.", "params": [], "type": "String" }
"version": {
"description": "Returns protocol version.",
"params": [],
"type": "String"
}
}
}

0 comments on commit 6d51efb

Please sign in to comment.