Api Reference
Returns basic information about the turret
Success
The public key of the turret owner
GB4OYM7TQTJSROWXHOJLKAX2IJ2QN4I6S6GCJH4MGWVTAO5Q5DPNADXXThe Stellar Network the turret is on. TESTNET or PUBLIC
TESTNETThe Horizon API the turret uses
https://horizon-testnet.stellar.orgThe repository version and last commit
v0.0.0-ff9e9750369cc8aed29af9f08ae34634594cbe41Success
Uploads a txFunction to the turret.
The source code to be uploaded
/some/path/txFunction.jsA Base64 encoded array of json object of the input fields for the contract in this format:
[
{
"name": "paramName",
"type": "string",
"description": "This is a param",
"rule": "Required"
}
]
Valid rules are Required and OptionalW3sibmFtZSI6ImRlc3RpbmF0aW9uIiwidHlwZSI6InN0cmluZyIsImRlc2NyaXB0aW9uIjoiU3RlbGxhciBwdWJsaWMga2V5IHlvdSdkIGxpa2UgdG8gcGF5IiwicnVsZSI6Ik11c3QgYmUgYSB2YWxpZCBhbmQgZnVuZGVkIFN0ZWxsYXIgcHVibGljIGtleSJ9XQA signed, non-submitted transaction envelope XDR for a fee payment to the TURRET_ADDRESS that is greater than or equal to the byte length of the contract divided by the UPLOAD_DIVISOR set by the turret
AAAAAgAAAABTqjFHz0quLSka8SOrkw7R07aqDNUHAe+Qm5PX0jMiGwAAAGQAHfBZAAAADgAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAB47DPzhNMoutc7krUC+kJ1BvEel4wkn4w1qzA7sOje0AAAAAAAAAAAAJiWgAAAAAAAAAAB0jMiGwAAAEAZjWTnxXY2lxVt0VSos6/Uvpoo3pXo6l+0Xk/P+sE5KDPwhAYkVQyXEBb8prEYprzp3aSlLF4TKcw3m/RM5IMKtxFunction uploaded
The SHA256 hash value of the contract
78565516a844fd4dfc5a7fc7da822028b04ee0aeaf981a4a914d4510906a7a32The public key of the signer the turret will use to sign the uploaded contract
GB6VNMGXKHS4UTIXW7U23ZQFWD7UJIWCJNQZR7ISNKBTYNULCFQKKPIKpayment required
Sends a fee payment to the turret
The Stellar public address of the account to apply the fee payment to
A signed, non-submitted transaction envelope XDR for a fee payment to the TURRET_ADDRESS that is greater than or equal to the byte length of the contract divided by the UPLOAD_DIVISOR set by the turret
AAAAAgAAAABTqjFHz0quLSka8SOrkw7R07aqDNUHAe+Qm5PX0jMiGwAAAGQAHfBZAAAADgAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAQAAAAB47DPzhNMoutc7krUC+kJ1BvEel4wkn4w1qzA7sOje0AAAAAAAAAAAAJiWgAAAAAAAAAAB0jMiGwAAAEAZjWTnxXY2lxVt0VSos6/Uvpoo3pXo6l+0Xk/P+sE5KDPwhAYkVQyXEBb8prEYprzp3aSlLF4TKcw3m/RM5IMKFee payment applied
The public key of the Stellar account that owns the fees
GB6VNMGXKHS4UTIXW7U23ZQFWD7UJIWCJNQZR7ISNKBTYNULCFQKKPIKThe epoch timestamp in milliseconds of the last time the fee balance modified
1631468533000The current fee balance in XLM
1.4234001Bad request
Last updated