The wallet will return the direct response from the RPC node.
Error Response
Parameter
Description
Example
Request
neolineN3.getTransaction({ txid:'0xe5a5fdacad0ba4e8d34d2fa0638357adb0f05e7fc902ec150739616320870f50'}).then(result => {console.log('Transaction details: '+JSON.stringify(result));}).catch((error) => {const {type,description,data} = error;switch(type) {case'NO_PROVIDER':console.log('No provider available.');break;case'RPC_ERROR':console.log('There was an error when broadcasting this transaction to the network.');break;default:// Not an expected error object. Just write the error to the console.console.error(error);break; }});