我正在使用一个简单的API,我们正在使用此SDK,但是当我们尝试使用此脚本时。
Error! { [BadResponseError: Transaction submission failed. Server responded: 400 Bad Request]
name: 'BadResponseError',
message: 'Transaction submission failed. Server responded: 400 Bad Request',
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',
instance: 'horizon-001a/Fm1q5QnVH4-247091670',
extras:
{ envelope_xdr: 'AAAAACO0e3CpDcv7A+FzZkIdKI0Jqhln3kEwK3OsVJW6fOYMAAAAZADzojYAAAAaAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAA90HkP1W5wCsFRAGGKE1z1b+b7PnetRAQI6/XIo9R2PwAAAAAAAAAAACYloAAAAAAAAAAAbp85gwAAABAr1tWwYjH5fjEUL6gsgFCrJbQakDuSk6bE2AYE51NAZkH4N6f7JCkwAEH2A1XSG334sprokpxy7lWcVPW92XgBw==',
result_codes: [Object],
result_xdr: 'AAAAAAAAAGT/////AAAAAQAAAAAAAAAB////+wAAAAA=' } } }
在脚本上我们创建了一个新帐户,我们希望用1流明激活它,付款的秘密至少有1000流明,但是当我们进行交易时,会出现这个错误:
Date
有什么建议吗?