op
Add a list of test operation calls to this test transaction builder.
Since
0.10.4
Parameters
ops
the list of operations to add
Add test operation calls to this test transaction builder.
Since
0.10.4
Parameters
ops
the operations to add
Add a list of test operation calls to this test transaction builder.
The test operation calls are given as struct<operation>
values.
For example, calls to the operation:
operation my_op(foo: integer, bar: list<text>) { ... }
Content copied to clipboard
may be passed as a struct<my_op>
:
my_transaction_builder.op([
struct<my_op>(foo = 1, bar = ["a", "b"]),
struct<my_op>(foo = 2, bar = ["c", "d"])
]);
Content copied to clipboard
Since
0.10.4
Parameters
ops
the list of test operation calls to add to this transaction builder
Add the given test operation calls to this test transaction builder.
The test operation calls are given as struct<operation>
values.
For example, calls to the operation:
operation my_op(foo: integer, bar: list<text>) { ... }
Content copied to clipboard
may be passed as a struct<my_op>
:
my_transaction_builder.op(
struct<my_op>(foo = 1, bar = ["a", "b"]),
struct<my_op>(foo = 2, bar = ["c", "d"])
);
Content copied to clipboard
Since
0.10.4
Parameters
ops
the test operation calls to add to this transaction builder