Created
July 16, 2018 15:04
-
-
Save corck/b947b7c6d523596005e22882b23f9ee6 to your computer and use it in GitHub Desktop.
Neon RPC Call
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let url = "http://neo-privnet:30333"; | |
const client = Neon.create.rpcClient(url, '2.3.2'); | |
let id = this.get('model').id; | |
console.log(id); | |
client.getRawTransaction(id) | |
.then((res) => { | |
console.log(res) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment