Skip to content

Instantly share code, notes, and snippets.

@corck
Created July 16, 2018 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corck/b947b7c6d523596005e22882b23f9ee6 to your computer and use it in GitHub Desktop.
Save corck/b947b7c6d523596005e22882b23f9ee6 to your computer and use it in GitHub Desktop.
Neon RPC Call
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