Corresponds to StorageProvider.createAction(auth, args).
Allocates inputs and outputs for a new transaction; returns the
data the SDK needs to construct and sign the raw transaction.
Body application/json
argsobjectrequired
BRC-100 ValidCreateActionArgs (see brc-100-wallet.json for full schema).
Response
Action creation result.
inputBeefinteger[]
inputsobject[]
Show inputs properties
vininteger
sourceTxidstring
sourceVoutinteger
sourceSatoshisinteger
sourceLockingScriptstring
Hex-encoded locking script.
sourceTransactioninteger[]
unlockingScriptLengthinteger
providedBy"you" | "storage" | "you-and-storage"
typestring
spendingDescriptionstring
derivationPrefixstring
derivationSuffixstring
senderIdentityKeystring
outputsobject[]
Show outputs properties
voutinteger
providedBy"you" | "storage" | "you-and-storage"
purposestring
derivationSuffixstring
satoshisinteger
lockingScriptstring
noSendChangeOutputVoutsinteger[]
derivationPrefixstring
versioninteger
lockTimeinteger
referencestring
Bad request — invalid arguments.
errorstring
codestring
Machine-readable error code (see specs/errors.md).
Authentication required or token invalid.
errorstring
codestring
Machine-readable error code (see specs/errors.md).
Internal storage error.
errorstring
codestring
Machine-readable error code (see specs/errors.md).
Reference › Service APIs › Wallet storage › Actions