n(); api.sendRawTransaction( {data: tx.toProtoString()} ).then(function(hash) { //code }); getBlockByHash(options) Get block header info by the block hash. Parameters: Name Type Description options Object Properties Name Type Description hash HexString fullTransaction Boolean See: https://github.com/nebulasio/wiki/blob/master/rpc.md#getblockbyhash Returns: Block Example var api = new Neb().api; api.getBlockByHash({ hash: \"00000658397a90df6459b8e7e63ad3f4ce8f0a40b8803ff2f29c611b2e0190b8\", fullTransaction: 