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
Copy file name to clipboardExpand all lines: docs/json-api-reference.md
+13-6Lines changed: 13 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,18 @@ Kuber Json Api Reference
8
8
-[**selections**](#1-selections---string--object--array-of-utxos-that-can-be-used-to-balance-the-transaction) : List of utxos/addresses that can be used for balancing transaction
9
9
-[**inputs**](#2-inputs---string--object---inputs-utxos-being-spent-in-the-transaction) : List inputs in transactions
-[**outputs**](#4-outputs--object--outputs-created-in--the-transaction) : List Output utxos in the transaction
11
+
-[**outputs**](#4-outputs--object--outputs-created-in-the-transaction) : List Output utxos in the transaction
12
12
-[**collaterals**](#5-collaterals-string-optional--collateral-inputs-in-the-transaction) : [optional] List of collaterals in the transaction (It is automatically selected if missing)
-[**mint**](#6-mint--object--minting-script-and-amount-in-the-transaction) : Minting Scripts and value in the transaction
16
-
-[**signatures**](#7 -)
19
+
-[**signatures**](#7-signatures-string)
17
20
-**fee** : [Integer : Lovelace] Fee is calculated automatically, but setting this will set transaction fee explicitly.
18
21
-**changeAddress**[Optional ] : Default change address. If it's missing, it's selected from one of the selection address. Setting `addChange` in any one output will disable this option
### 1. `selections` : [ string | object ] Array of utxos that can be used to balance the transaction
22
25
@@ -274,8 +277,12 @@ Each object in the mint list must have following keys
274
277
"scripts": [ BasicScript | MultiScript ] : when required number of script condition is met, token can be minted.
275
278
}
276
279
280
+
### 7. Signatures: "String"
281
+
PubKey Signatures required for usage by Plutus Contract. It must be set when `txSignedBy` function constraint is used in Plutus script.
282
+
283
+
It can be either bench32 or cborHex format Address.
277
284
278
-
### 7. metadata : Object : Transaction Metadata
285
+
### 8. metadata : Object : Transaction Metadata
279
286
Transaction metadata must be a json object with top level integer key label.
280
287
281
288
Keys in the json shouldn't be longer than 64 bytes length. If the string value in the metadata is longer than 64 bytes length, Kuber will split the string and replace it with array of smaller chunks of the string.
0 commit comments