{"action":"created","issue":{"url":"https://api.github.com/repos/skycoin/skycoin/issues/1306","repository_url":"https://api.github.com/repos/skycoin/skycoin","labels_url":"https://api.github.com/repos/skycoin/skycoin/issues/1306/labels{/name}","comments_url":"https://api.github.com/repos/skycoin/skycoin/issues/1306/comments","events_url":"https://api.github.com/repos/skycoin/skycoin/issues/1306/events","html_url":"https://github.com/skycoin/skycoin/issues/1306","id":316343628,"number":1306,"title":"API endpoints to decode and validate an encoded transaction","user":{"login":"gz-c","id":26845312,"avatar_url":"https://avatars0.githubusercontent.com/u/26845312?v=4","gravatar_id":"","url":"https://api.github.com/users/gz-c","html_url":"https://github.com/gz-c","followers_url":"https://api.github.com/users/gz-c/followers","following_url":"https://api.github.com/users/gz-c/following{/other_user}","gists_url":"https://api.github.com/users/gz-c/gists{/gist_id}","starred_url":"https://api.github.com/users/gz-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gz-c/subscriptions","organizations_url":"https://api.github.com/users/gz-c/orgs","repos_url":"https://api.github.com/users/gz-c/repos","events_url":"https://api.github.com/users/gz-c/events{/privacy}","received_events_url":"https://api.github.com/users/gz-c/received_events","type":"User","site_admin":false},"labels":[{"id":758163985,"url":"https://api.github.com/repos/skycoin/skycoin/labels/api","name":"api","color":"d80eea","default":false}],"state":"open","locked":false,"assignee":{"login":"iketheadore","id":2589926,"avatar_url":"https://avatars1.githubusercontent.com/u/2589926?v=4","gravatar_id":"","url":"https://api.github.com/users/iketheadore","html_url":"https://github.com/iketheadore","followers_url":"https://api.github.com/users/iketheadore/followers","following_url":"https://api.github.com/users/iketheadore/following{/other_user}","gists_url":"https://api.github.com/users/iketheadore/gists{/gist_id}","starred_url":"https://api.github.com/users/iketheadore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iketheadore/subscriptions","organizations_url":"https://api.github.com/users/iketheadore/orgs","repos_url":"https://api.github.com/users/iketheadore/repos","events_url":"https://api.github.com/users/iketheadore/events{/privacy}","received_events_url":"https://api.github.com/users/iketheadore/received_events","type":"User","site_admin":false},"assignees":[{"login":"iketheadore","id":2589926,"avatar_url":"https://avatars1.githubusercontent.com/u/2589926?v=4","gravatar_id":"","url":"https://api.github.com/users/iketheadore","html_url":"https://github.com/iketheadore","followers_url":"https://api.github.com/users/iketheadore/followers","following_url":"https://api.github.com/users/iketheadore/following{/other_user}","gists_url":"https://api.github.com/users/iketheadore/gists{/gist_id}","starred_url":"https://api.github.com/users/iketheadore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iketheadore/subscriptions","organizations_url":"https://api.github.com/users/iketheadore/orgs","repos_url":"https://api.github.com/users/iketheadore/repos","events_url":"https://api.github.com/users/iketheadore/events{/privacy}","received_events_url":"https://api.github.com/users/iketheadore/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-04-20T17:03:29Z","updated_at":"2018-05-20T05:29:21Z","closed_at":null,"author_association":"MEMBER","body":"`POST /transaction/decode`\r\n`POST /transaction/validate`\r\n\r\nJSON body: `{\"encoded_transaction\": \"...\"}`\r\n\r\nReturns the transaction decoded as JSON (preferably use the transaction object returned by `POST /wallet/transaction` that will be added by #1223, otherwise a visor.ReadableTransaction)\r\n\r\nError 400 if invalid JSON, encoded_transaction is missing or cannot be decoded to bytes\r\nError 422 if transaction validation fails\r\n\r\n*This spec needs some refinement*"},"comment":{"url":"https://api.github.com/repos/skycoin/skycoin/issues/comments/390459019","html_url":"https://github.com/skycoin/skycoin/issues/1306#issuecomment-390459019","issue_url":"https://api.github.com/repos/skycoin/skycoin/issues/1306","id":390459019,"user":{"login":"iketheadore","id":2589926,"avatar_url":"https://avatars1.githubusercontent.com/u/2589926?v=4","gravatar_id":"","url":"https://api.github.com/users/iketheadore","html_url":"https://github.com/iketheadore","followers_url":"https://api.github.com/users/iketheadore/followers","following_url":"https://api.github.com/users/iketheadore/following{/other_user}","gists_url":"https://api.github.com/users/iketheadore/gists{/gist_id}","starred_url":"https://api.github.com/users/iketheadore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iketheadore/subscriptions","organizations_url":"https://api.github.com/users/iketheadore/orgs","repos_url":"https://api.github.com/users/iketheadore/repos","events_url":"https://api.github.com/users/iketheadore/events{/privacy}","received_events_url":"https://api.github.com/users/iketheadore/received_events","type":"User","site_admin":false},"created_at":"2018-05-20T05:29:21Z","updated_at":"2018-05-20T05:29:21Z","author_association":"MEMBER","body":"Maybe we can just return `CreatedTransaction` struct"}}
{"actor":{"display_login":"iketheadore"}}