JustPaste.it

{ status: 400,
statusText: 'Bad Request',
headers:
{ 'cache-control': 'no-cache, no-store, max-age=0',
'content-type': 'application/problem+json; charset=utf-8',
date: 'Fri, 26 Apr 2019 07:44:29 GMT',
vary: 'Origin',
'x-ratelimit-limit': '101',
'x-ratelimit-remaining': '100',
'x-ratelimit-reset': '1',
'content-length': '902',
connection: 'Close' },
config:
{ adapter: [Function: httpAdapter],
transformRequest: { '0': [Function: transformRequest] },
transformResponse: { '0': [Function: transformResponse] },
timeout: 60000,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
validateStatus: [Function: validateStatus],
headers:
{ Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/x-www-form-urlencoded',
'X-Client-Name': 'js-stellar-sdk',
'X-Client-Version': '0.15.3',
'User-Agent': 'axios/0.18.0',
'Content-Length': 301 },
method: 'post',
url: 'https://horizon-testnet.stellar.org/transactions',
data: 'tx=AAAAAM8WkMKxiwXaRDFThxR%2FHF%2FEPoLIB605jlOOMcJ1DdrUAAAAZAAAeKsAAAABAAAAAQAAAAAAAAAAAAAAAFzCtvIAAAAAAAAAAQAAAAAAAAABAAAAAFLiXyPotSB1ZNc4r%2Fn7EMYv%2FBDw%2FSgCClfRo%2FeDzVZjAAAAAAAAAADQsJmHAAAAAAAAAAF1DdrUAAAAQBu9TrkXj3dOTAmx9GPPCh3EmbsAaj9Nl1toHBcERh5fAZ985kbHru8uWCr71W6XPpxWzisn1HP6KDWwyGfCgw0%3D' },
request:
ClientRequest {
domain: null,
_events:
{ socket: [Function],
abort: [Function],
aborted: [Function],
error: [Function],
timeout: [Function],
prefinish: [Function: requestOnPrefinish] },
_eventsCount: 6,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
upgrading: false,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: null,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket:
TLSSocket {
_tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
_SNICallback: null,
servername: 'horizon-testnet.stellar.org',
npnProtocol: undefined,
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object],
_eventsCount: 9,
connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'horizon-testnet.stellar.org',
_readableState: [Object],
readable: true,
domain: null,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_bytesDispatched: 582,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: [Object],
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular],
[Symbol(asyncId)]: 70,
[Symbol(bytesRead)]: 0 },
connection:
TLSSocket {
_tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
_SNICallback: null,
servername: 'horizon-testnet.stellar.org',
npnProtocol: undefined,
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object],
_eventsCount: 9,
connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'horizon-testnet.stellar.org',
_readableState: [Object],
readable: true,
domain: null,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_bytesDispatched: 582,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: [Object],
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular],
[Symbol(asyncId)]: 70,
[Symbol(bytesRead)]: 0 },
_header: 'POST /transactions HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/x-www-form-urlencoded\r\nX-Client-Name: js-stellar-sdk\r\nX-Client-Version: 0.15.3\r\nUser-Agent: axios/0.18.0\r\nContent-Length: 301\r\nHost: horizon-testnet.stellar.org\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent:
Agent {
domain: null,
_events: [Object],
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object],
requests: {},
sockets: [Object],
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
maxCachedSessions: 100,
_sessionCache: [Object] },
socketPath: undefined,
timeout: undefined,
method: 'POST',
path: '/transactions',
_ended: true,
res:
IncomingMessage {
_readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_eventsCount: 3,
_maxListeners: undefined,
socket: [Object],
connection: [Object],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers: [Object],
rawHeaders: [Array],
trailers: {},
rawTrailers: [],
upgrade: false,
url: '',
method: null,
statusCode: 400,
statusMessage: 'Bad Request',
client: [Object],
_consuming: true,
_dumped: false,
req: [Circular],
responseUrl: 'https://horizon-testnet.stellar.org/transactions',
redirects: [],
read: [Function] },
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
_redirectable:
Writable {
_writableState: [Object],
writable: true,
domain: null,
_events: [Object],
_eventsCount: 2,
_maxListeners: undefined,
_options: [Object],
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 301,
_requestBodyBuffers: [],
_onNativeResponse: [Function],
_currentRequest: [Circular],
_currentUrl: 'https://horizon-testnet.stellar.org/transactions' },
[Symbol(outHeadersKey)]:
{ accept: [Array],
'content-type': [Array],
'x-client-name': [Array],
'x-client-version': [Array],
'user-agent': [Array],
'content-length': [Array],
host: [Array] } },
data:
{ type: 'https://stellar.org/horizon-errors/transaction_failed',
title: 'Transaction Failed',
status: 400,
detail: 'The transaction failed when submitted to the stellar network. The `extras.result_codes` field on this response contains further details. Descriptions of each code can be found at: https://www.stellar.org/developers/learn/concepts/list-of-operations.html',
extras:
{ envelope_xdr: 'AAAAAM8WkMKxiwXaRDFThxR/HF/EPoLIB605jlOOMcJ1DdrUAAAAZAAAeKsAAAABAAAAAQAAAAAAAAAAAAAAAFzCtvIAAAAAAAAAAQAAAAAAAAABAAAAAFLiXyPotSB1ZNc4r/n7EMYv/BDw/SgCClfRo/eDzVZjAAAAAAAAAADQsJmHAAAAAAAAAAF1DdrUAAAAQBu9TrkXj3dOTAmx9GPPCh3EmbsAaj9Nl1toHBcERh5fAZ985kbHru8uWCr71W6XPpxWzisn1HP6KDWwyGfCgw0=',
result_codes: [Object],
result_xdr: 'AAAAAAAAAGT/////AAAAAQAAAAAAAAAB////+wAAAAA=' } } }