Merge pull request #1057 from poanetwork/sa-rpc-api-docs-graphql-references

Add GraphQL API references to RPC API docs
address-infinite-scroll
Luke Imhoff 6 years ago committed by GitHub
commit 57ef9bbe19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      apps/block_scout_web/lib/block_scout_web/etherscan.ex

@ -853,7 +853,7 @@ defmodule BlockScoutWeb.Etherscan do
@account_balance_action %{ @account_balance_action %{
name: "balance", name: "balance",
description: "Get balance for address", description: "Get balance for address. Also available through a GraphQL 'addresses' query.",
required_params: [ required_params: [
%{ %{
key: "address", key: "address",
@ -887,7 +887,7 @@ defmodule BlockScoutWeb.Etherscan do
@account_balancemulti_action %{ @account_balancemulti_action %{
name: "balancemulti", name: "balancemulti",
description: "Get balance for multiple addresses", description: "Get balance for multiple addresses. Also available through a GraphQL 'addresses' query.",
required_params: [ required_params: [
%{ %{
key: "address", key: "address",
@ -1572,7 +1572,7 @@ defmodule BlockScoutWeb.Etherscan do
@contract_getabi_action %{ @contract_getabi_action %{
name: "getabi", name: "getabi",
description: "Get ABI for verified contract.", description: "Get ABI for verified contract. Also available through a GraphQL 'addresses' query.",
required_params: [ required_params: [
%{ %{
key: "address", key: "address",
@ -1609,7 +1609,7 @@ defmodule BlockScoutWeb.Etherscan do
@contract_getsourcecode_action %{ @contract_getsourcecode_action %{
name: "getsourcecode", name: "getsourcecode",
description: "Get contract source code for verified contract.", description: "Get contract source code for verified contract. Also available through a GraphQL 'addresses' query.",
required_params: [ required_params: [
%{ %{
key: "address", key: "address",
@ -1683,7 +1683,7 @@ defmodule BlockScoutWeb.Etherscan do
@transaction_gettxreceiptstatus_action %{ @transaction_gettxreceiptstatus_action %{
name: "gettxreceiptstatus", name: "gettxreceiptstatus",
description: "Get transaction receipt status.", description: "Get transaction receipt status. Also available through a GraphQL 'transaction' query.",
required_params: [ required_params: [
%{ %{
key: "txhash", key: "txhash",
@ -1720,7 +1720,7 @@ defmodule BlockScoutWeb.Etherscan do
@transaction_getstatus_action %{ @transaction_getstatus_action %{
name: "getstatus", name: "getstatus",
description: "Get error status and error message.", description: "Get error status and error message. Also available through a GraphQL 'transaction' query.",
required_params: [ required_params: [
%{ %{
key: "txhash", key: "txhash",

Loading…
Cancel
Save