/sendTransactionToStellarContractWithContractInfo
1 min
POST
/sendTransactionToStellarContractWithContractInfo
account_idinteger<p>Internal MPC account identifier that will sign the authorization (the "Hot" signer).</p>
contract_addressstring<p>Target contract address (C-address, StrKey starting with 'C…').</p>
max_feeinteger<p>Maximum fee (in stroops) allowed for this transaction.</p>
function_namestring<p>Contract function to invoke (symbol), e.g. "execute".</p>
parameters_fields_types_and_valuesarray<p><strong>Supported Soroban types</strong></p>
<ul>
<li><code>bool</code> → <code>"true" / "false" / 0 / 1</code></li>
<li><code>u32, u64, u128</code> → unsigned integers (base-10, within range)</li>
<li><code>i32, i64, i128</code> → signed integers (base-10, within range)</li>
<li><code>timepoint</code>, <code>duration</code> → unsigned integer seconds</li>
<li><code>symbol</code> → short ASCII identifier (<code>^[A-Za-z0-9_]{1,32}$</code>)</li>
<li><code>string</code> → UTF-8 text (≤ 4096 bytes)</li>
<li><code>bytes</code> → variable-length hex <code>"0x…"</code>, even length</li>
<li><code>address</code> → valid StrKey <code>G…</code> (account) or <code>C…</code> (contract)</li>
<li><code>vec<T></code> → list of elements of type T, e.g. <code>["1","2","3"]</code></li>
<li><code>map<K,V></code> → sorted list of <code>[key,value]</code> pairs, e.g.
<code>[[["symbol","USD"],["u128","1000"]],[["symbol","EUR"],["u128","500"]]]</code></li>
</ul>
<p>All numeric values must be provided as strings.</p>
structsstring<p>(Optional) Custom struct schemas used in composite parameters.</p>
authorization_entry_xdrsarray<p>List of base64-encoded <strong>SorobanAuthorizationEntry</strong> XDRs created by :func:<code>getSorobanAuthorizationEntrySignedByMpc</code>. These entries prove authorization for any <code>require_auth</code> paths inside the call.</p>
validate_transactionboolean<p>When True, the MPC node simulates the transaction and rejects it if the network reports a failure (invalid footprint, auth, etc.).</p>
descriptionstring<p>Free-text note stored with the transaction in your records.</p>
specificFromAddressstringThe specific deposit address to send from. Cannot be used if the account is defined as an Omnibus account.
acceptstringGenerated from available response content types
200success
curl --request POST \
--url '/sendTransactionToStellarContractWithContractInfo?account_id=1&contract_address=CCOZ5XDWPXVYLIUCLK2YKW5RXPOWINDB2FIQBM5JUXAWLMQW5RRMELNF&max_fee=4000000&function_name=execute¶meters_fields_types_and_values=array&structs=None&validate_transaction=true' \
--header 'accept: application/json'