{"action":"closed","number":828,"pull_request":{"url":"https://api.github.com/repos/poanetwork/blockscout/pulls/828","id":218807668,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4ODA3NjY4","html_url":"https://github.com/poanetwork/blockscout/pull/828","diff_url":"https://github.com/poanetwork/blockscout/pull/828.diff","patch_url":"https://github.com/poanetwork/blockscout/pull/828.patch","issue_url":"https://api.github.com/repos/poanetwork/blockscout/issues/828","number":828,"state":"closed","locked":false,"title":"account#txlistinternal by address API endpoint","user":{"login":"sabondano","id":1958868,"node_id":"MDQ6VXNlcjE5NTg4Njg=","avatar_url":"https://avatars0.githubusercontent.com/u/1958868?v=4","gravatar_id":"","url":"https://api.github.com/users/sabondano","html_url":"https://github.com/sabondano","followers_url":"https://api.github.com/users/sabondano/followers","following_url":"https://api.github.com/users/sabondano/following{/other_user}","gists_url":"https://api.github.com/users/sabondano/gists{/gist_id}","starred_url":"https://api.github.com/users/sabondano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabondano/subscriptions","organizations_url":"https://api.github.com/users/sabondano/orgs","repos_url":"https://api.github.com/users/sabondano/repos","events_url":"https://api.github.com/users/sabondano/events{/privacy}","received_events_url":"https://api.github.com/users/sabondano/received_events","type":"User","site_admin":false},"body":"Resolves: https://github.com/poanetwork/blockscout/issues/138\r\n\r\n## Motivation\r\n\r\n* For API users to be able to get a list of internal transactions by\r\naddress.\r\n\r\n  Example usage:\r\n    ```\r\n    /api?module=account&action=txlistinternal&address={addressHash}\r\n    ```\r\n\r\n## Changelog\r\n\r\n### Enhancements\r\n* Adding `Explorer.Etherscan.list_internal_transactions/2` to get list\r\nof internal transactions by address.\r\n* Editing `Explorer.Etherscan` by changing the order of some of the\r\nbindings within queries to be able to reuse `where_start_block_match/2`\r\nand `where_end_block_match` in the new function mentioned above.\r\n* Editing `API.RPC.AddressController.txlistinternal/2` to work when\r\ngetting internal transactions by txhash or address.\r\n* Editing `account#txlistinternal` documentation data to account for the\r\nfact that it can now be used with an address or txhash. Documentation\r\ndata lives in `BlockScoutWeb.Etherscan`","created_at":"2018-09-27T22:34:53Z","updated_at":"2018-10-02T22:12:43Z","closed_at":"2018-10-02T22:12:43Z","merged_at":"2018-10-02T22:12:42Z","merge_commit_sha":"d9988fb5b8424dea86ed9880245f5a4e78b9a48a","assignee":{"login":"sabondano","id":1958868,"node_id":"MDQ6VXNlcjE5NTg4Njg=","avatar_url":"https://avatars0.githubusercontent.com/u/1958868?v=4","gravatar_id":"","url":"https://api.github.com/users/sabondano","html_url":"https://github.com/sabondano","followers_url":"https://api.github.com/users/sabondano/followers","following_url":"https://api.github.com/users/sabondano/following{/other_user}","gists_url":"https://api.github.com/users/sabondano/gists{/gist_id}","starred_url":"https://api.github.com/users/sabondano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabondano/subscriptions","organizations_url":"https://api.github.com/users/sabondano/orgs","repos_url":"https://api.github.com/users/sabondano/repos","events_url":"https://api.github.com/users/sabondano/events{/privacy}","received_events_url":"https://api.github.com/users/sabondano/received_events","type":"User","site_admin":false},"assignees":[{"login":"KronicDeth","id":298259,"node_id":"MDQ6VXNlcjI5ODI1OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/298259?v=4","gravatar_id":"","url":"https://api.github.com/users/KronicDeth","html_url":"https://github.com/KronicDeth","followers_url":"https://api.github.com/users/KronicDeth/followers","following_url":"https://api.github.com/users/KronicDeth/following{/other_user}","gists_url":"https://api.github.com/users/KronicDeth/gists{/gist_id}","starred_url":"https://api.github.com/users/KronicDeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KronicDeth/subscriptions","organizations_url":"https://api.github.com/users/KronicDeth/orgs","repos_url":"https://api.github.com/users/KronicDeth/repos","events_url":"https://api.github.com/users/KronicDeth/events{/privacy}","received_events_url":"https://api.github.com/users/KronicDeth/received_events","type":"User","site_admin":false},{"login":"sabondano","id":1958868,"node_id":"MDQ6VXNlcjE5NTg4Njg=","avatar_url":"https://avatars0.githubusercontent.com/u/1958868?v=4","gravatar_id":"","url":"https://api.github.com/users/sabondano","html_url":"https://github.com/sabondano","followers_url":"https://api.github.com/users/sabondano/followers","following_url":"https://api.github.com/users/sabondano/following{/other_user}","gists_url":"https://api.github.com/users/sabondano/gists{/gist_id}","starred_url":"https://api.github.com/users/sabondano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabondano/subscriptions","organizations_url":"https://api.github.com/users/sabondano/orgs","repos_url":"https://api.github.com/users/sabondano/repos","events_url":"https://api.github.com/users/sabondano/events{/privacy}","received_events_url":"https://api.github.com/users/sabondano/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":859573185,"node_id":"MDU6TGFiZWw4NTk1NzMxODU=","url":"https://api.github.com/repos/poanetwork/blockscout/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/poanetwork/blockscout/pulls/828/commits","review_comments_url":"https://api.github.com/repos/poanetwork/blockscout/pulls/828/comments","review_comment_url":"https://api.github.com/repos/poanetwork/blockscout/pulls/comments{/number}","comments_url":"https://api.github.com/repos/poanetwork/blockscout/issues/828/comments","statuses_url":"https://api.github.com/repos/poanetwork/blockscout/statuses/e99690eed729483d9767b1febddf7db5ae04e0de","head":{"label":"poanetwork:sa-api-account-txlistinternal-byaddress","ref":"sa-api-account-txlistinternal-byaddress","sha":"e99690eed729483d9767b1febddf7db5ae04e0de","user":{"login":"poanetwork","id":28943015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTQzMDE1","avatar_url":"https://avatars2.githubusercontent.com/u/28943015?v=4","gravatar_id":"","url":"https://api.github.com/users/poanetwork","html_url":"https://github.com/poanetwork","followers_url":"https://api.github.com/users/poanetwork/followers","following_url":"https://api.github.com/users/poanetwork/following{/other_user}","gists_url":"https://api.github.com/users/poanetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/poanetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poanetwork/subscriptions","organizations_url":"https://api.github.com/users/poanetwork/orgs","repos_url":"https://api.github.com/users/poanetwork/repos","events_url":"https://api.github.com/users/poanetwork/events{/privacy}","received_events_url":"https://api.github.com/users/poanetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":117294980,"node_id":"MDEwOlJlcG9zaXRvcnkxMTcyOTQ5ODA=","name":"blockscout","full_name":"poanetwork/blockscout","private":false,"owner":{"login":"poanetwork","id":28943015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTQzMDE1","avatar_url":"https://avatars2.githubusercontent.com/u/28943015?v=4","gravatar_id":"","url":"https://api.github.com/users/poanetwork","html_url":"https://github.com/poanetwork","followers_url":"https://api.github.com/users/poanetwork/followers","following_url":"https://api.github.com/users/poanetwork/following{/other_user}","gists_url":"https://api.github.com/users/poanetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/poanetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poanetwork/subscriptions","organizations_url":"https://api.github.com/users/poanetwork/orgs","repos_url":"https://api.github.com/users/poanetwork/repos","events_url":"https://api.github.com/users/poanetwork/events{/privacy}","received_events_url":"https://api.github.com/users/poanetwork/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/poanetwork/blockscout","description":"A tool for inspecting and analyzing EVM based blockchains. Blockchain explorer for Ethereum networks.","fork":false,"url":"https://api.github.com/repos/poanetwork/blockscout","forks_url":"https://api.github.com/repos/poanetwork/blockscout/forks","keys_url":"https://api.github.com/repos/poanetwork/blockscout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poanetwork/blockscout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poanetwork/blockscout/teams","hooks_url":"https://api.github.com/repos/poanetwork/blockscout/hooks","issue_events_url":"https://api.github.com/repos/poanetwork/blockscout/issues/events{/number}","events_url":"https://api.github.com/repos/poanetwork/blockscout/events","assignees_url":"https://api.github.com/repos/poanetwork/blockscout/assignees{/user}","branches_url":"https://api.github.com/repos/poanetwork/blockscout/branches{/branch}","tags_url":"https://api.github.com/repos/poanetwork/blockscout/tags","blobs_url":"https://api.github.com/repos/poanetwork/blockscout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poanetwork/blockscout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poanetwork/blockscout/git/refs{/sha}","trees_url":"https://api.github.com/repos/poanetwork/blockscout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poanetwork/blockscout/statuses/{sha}","languages_url":"https://api.github.com/repos/poanetwork/blockscout/languages","stargazers_url":"https://api.github.com/repos/poanetwork/blockscout/stargazers","contributors_url":"https://api.github.com/repos/poanetwork/blockscout/contributors","subscribers_url":"https://api.github.com/repos/poanetwork/blockscout/subscribers","subscription_url":"https://api.github.com/repos/poanetwork/blockscout/subscription","commits_url":"https://api.github.com/repos/poanetwork/blockscout/commits{/sha}","git_commits_url":"https://api.github.com/repos/poanetwork/blockscout/git/commits{/sha}","comments_url":"https://api.github.com/repos/poanetwork/blockscout/comments{/number}","issue_comment_url":"https://api.github.com/repos/poanetwork/blockscout/issues/comments{/number}","contents_url":"https://api.github.com/repos/poanetwork/blockscout/contents/{+path}","compare_url":"https://api.github.com/repos/poanetwork/blockscout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poanetwork/blockscout/merges","archive_url":"https://api.github.com/repos/poanetwork/blockscout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poanetwork/blockscout/downloads","issues_url":"https://api.github.com/repos/poanetwork/blockscout/issues{/number}","pulls_url":"https://api.github.com/repos/poanetwork/blockscout/pulls{/number}","milestones_url":"https://api.github.com/repos/poanetwork/blockscout/milestones{/number}","notifications_url":"https://api.github.com/repos/poanetwork/blockscout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poanetwork/blockscout/labels{/name}","releases_url":"https://api.github.com/repos/poanetwork/blockscout/releases{/id}","deployments_url":"https://api.github.com/repos/poanetwork/blockscout/deployments","created_at":"2018-01-12T22:45:24Z","updated_at":"2018-10-02T22:02:41Z","pushed_at":"2018-10-02T22:12:42Z","git_url":"git://github.com/poanetwork/blockscout.git","ssh_url":"git@github.com:poanetwork/blockscout.git","clone_url":"https://github.com/poanetwork/blockscout.git","svn_url":"https://github.com/poanetwork/blockscout","homepage":"https://blockscout.com","size":7535,"stargazers_count":178,"watchers_count":178,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"archived":false,"open_issues_count":131,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":61,"open_issues":131,"watchers":178,"default_branch":"master"}},"base":{"label":"poanetwork:master","ref":"master","sha":"be5ec072b0009525a35564b8db1c199d9e737b4c","user":{"login":"poanetwork","id":28943015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTQzMDE1","avatar_url":"https://avatars2.githubusercontent.com/u/28943015?v=4","gravatar_id":"","url":"https://api.github.com/users/poanetwork","html_url":"https://github.com/poanetwork","followers_url":"https://api.github.com/users/poanetwork/followers","following_url":"https://api.github.com/users/poanetwork/following{/other_user}","gists_url":"https://api.github.com/users/poanetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/poanetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poanetwork/subscriptions","organizations_url":"https://api.github.com/users/poanetwork/orgs","repos_url":"https://api.github.com/users/poanetwork/repos","events_url":"https://api.github.com/users/poanetwork/events{/privacy}","received_events_url":"https://api.github.com/users/poanetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":117294980,"node_id":"MDEwOlJlcG9zaXRvcnkxMTcyOTQ5ODA=","name":"blockscout","full_name":"poanetwork/blockscout","private":false,"owner":{"login":"poanetwork","id":28943015,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4OTQzMDE1","avatar_url":"https://avatars2.githubusercontent.com/u/28943015?v=4","gravatar_id":"","url":"https://api.github.com/users/poanetwork","html_url":"https://github.com/poanetwork","followers_url":"https://api.github.com/users/poanetwork/followers","following_url":"https://api.github.com/users/poanetwork/following{/other_user}","gists_url":"https://api.github.com/users/poanetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/poanetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poanetwork/subscriptions","organizations_url":"https://api.github.com/users/poanetwork/orgs","repos_url":"https://api.github.com/users/poanetwork/repos","events_url":"https://api.github.com/users/poanetwork/events{/privacy}","received_events_url":"https://api.github.com/users/poanetwork/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/poanetwork/blockscout","description":"A tool for inspecting and analyzing EVM based blockchains. Blockchain explorer for Ethereum networks.","fork":false,"url":"https://api.github.com/repos/poanetwork/blockscout","forks_url":"https://api.github.com/repos/poanetwork/blockscout/forks","keys_url":"https://api.github.com/repos/poanetwork/blockscout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poanetwork/blockscout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poanetwork/blockscout/teams","hooks_url":"https://api.github.com/repos/poanetwork/blockscout/hooks","issue_events_url":"https://api.github.com/repos/poanetwork/blockscout/issues/events{/number}","events_url":"https://api.github.com/repos/poanetwork/blockscout/events","assignees_url":"https://api.github.com/repos/poanetwork/blockscout/assignees{/user}","branches_url":"https://api.github.com/repos/poanetwork/blockscout/branches{/branch}","tags_url":"https://api.github.com/repos/poanetwork/blockscout/tags","blobs_url":"https://api.github.com/repos/poanetwork/blockscout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poanetwork/blockscout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poanetwork/blockscout/git/refs{/sha}","trees_url":"https://api.github.com/repos/poanetwork/blockscout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poanetwork/blockscout/statuses/{sha}","languages_url":"https://api.github.com/repos/poanetwork/blockscout/languages","stargazers_url":"https://api.github.com/repos/poanetwork/blockscout/stargazers","contributors_url":"https://api.github.com/repos/poanetwork/blockscout/contributors","subscribers_url":"https://api.github.com/repos/poanetwork/blockscout/subscribers","subscription_url":"https://api.github.com/repos/poanetwork/blockscout/subscription","commits_url":"https://api.github.com/repos/poanetwork/blockscout/commits{/sha}","git_commits_url":"https://api.github.com/repos/poanetwork/blockscout/git/commits{/sha}","comments_url":"https://api.github.com/repos/poanetwork/blockscout/comments{/number}","issue_comment_url":"https://api.github.com/repos/poanetwork/blockscout/issues/comments{/number}","contents_url":"https://api.github.com/repos/poanetwork/blockscout/contents/{+path}","compare_url":"https://api.github.com/repos/poanetwork/blockscout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poanetwork/blockscout/merges","archive_url":"https://api.github.com/repos/poanetwork/blockscout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poanetwork/blockscout/downloads","issues_url":"https://api.github.com/repos/poanetwork/blockscout/issues{/number}","pulls_url":"https://api.github.com/repos/poanetwork/blockscout/pulls{/number}","milestones_url":"https://api.github.com/repos/poanetwork/blockscout/milestones{/number}","notifications_url":"https://api.github.com/repos/poanetwork/blockscout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poanetwork/blockscout/labels{/name}","releases_url":"https://api.github.com/repos/poanetwork/blockscout/releases{/id}","deployments_url":"https://api.github.com/repos/poanetwork/blockscout/deployments","created_at":"2018-01-12T22:45:24Z","updated_at":"2018-10-02T22:02:41Z","pushed_at":"2018-10-02T22:12:42Z","git_url":"git://github.com/poanetwork/blockscout.git","ssh_url":"git@github.com:poanetwork/blockscout.git","clone_url":"https://github.com/poanetwork/blockscout.git","svn_url":"https://github.com/poanetwork/blockscout","homepage":"https://blockscout.com","size":7535,"stargazers_count":178,"watchers_count":178,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"archived":false,"open_issues_count":131,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":61,"open_issues":131,"watchers":178,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/poanetwork/blockscout/pulls/828"},"html":{"href":"https://github.com/poanetwork/blockscout/pull/828"},"issue":{"href":"https://api.github.com/repos/poanetwork/blockscout/issues/828"},"comments":{"href":"https://api.github.com/repos/poanetwork/blockscout/issues/828/comments"},"review_comments":{"href":"https://api.github.com/repos/poanetwork/blockscout/pulls/828/comments"},"review_comment":{"href":"https://api.github.com/repos/poanetwork/blockscout/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/poanetwork/blockscout/pulls/828/commits"},"statuses":{"href":"https://api.github.com/repos/poanetwork/blockscout/statuses/e99690eed729483d9767b1febddf7db5ae04e0de"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"acravenho","id":17620007,"node_id":"MDQ6VXNlcjE3NjIwMDA3","avatar_url":"https://avatars1.githubusercontent.com/u/17620007?v=4","gravatar_id":"","url":"https://api.github.com/users/acravenho","html_url":"https://github.com/acravenho","followers_url":"https://api.github.com/users/acravenho/followers","following_url":"https://api.github.com/users/acravenho/following{/other_user}","gists_url":"https://api.github.com/users/acravenho/gists{/gist_id}","starred_url":"https://api.github.com/users/acravenho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acravenho/subscriptions","organizations_url":"https://api.github.com/users/acravenho/orgs","repos_url":"https://api.github.com/users/acravenho/repos","events_url":"https://api.github.com/users/acravenho/events{/privacy}","received_events_url":"https://api.github.com/users/acravenho/received_events","type":"User","site_admin":false},"comments":2,"review_comments":4,"maintainer_can_modify":false,"commits":1,"additions":476,"deletions":29,"changed_files":5}}
{"actor":{"display_login":"acravenho"}}