You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should build not signed transaction with many inputs.
If the transaction with the specified operationId has already been built by one of the [POST] /api/transactions/* call, it should be ignored and regular response (as in the first request) should be returned.
Request
{// Operation ID“operationId”: “guid”,// Sources“inputs”: [{// Source address“fromAddress”: “string”,// Amount to transfer from the fromAddress .// Integer as string, aligned// to the droplet precision exponent. Actual value can be// calculated as// x = amount / (10 ^ asset.Accuracy)“amount”: “string”}],// Destination address“toAddress”: “string”,// ticker ID of the fiber coin , SKY by default “assetId”: “string”}
Response
{// Error code.// Can be empty.// Should be non empty if an error that match one of the// listed code is occured. For other errors use HTTP// status codes.// enum values:// - amountIsTooSmall : amount is too small to execute// transaction// - notEnoughBalance : transaction can’t be executed due// to balance insufficiency on the source address."errorCode": "enum",// The transaction context which will be passed to the// [POST] /api/sign// Should be not empty when result is successful.“transactionContext”: “string”}
[POST] /api/transactions/many-inputs
Should build not signed transaction with many inputs.
If the transaction with the specified
operationId
has already been built by one of the[POST] /api/transactions/*
call, it should be ignored and regular response (as in the first request) should be returned.Request
Response
Python implementation
The text was updated successfully, but these errors were encountered: