Create
Deploy a new pair AA and initialize it.
Arguments
create
datarequired Must be defined to trigger the "create" functionasset0
datarequired Asset unit id of the first assetasset1
datarequiredAsset unit id of the second asset
address
datarequired Address of the pair AA to create
Example
{
trigger: {
outputs: {
base: 10000
}
data: {
create: '1',
asset0: 'base',
asset1: 'WhsD5Y/1NeKROgQojGwfe9EBC7NH4KnAk4CorCrVRhs=',
address: 'BWHQYDF63RASO5PNCKWDRUHWQJNJPMXN'
}
}
}Returns
{
responseVars: {
type: 'create'
}
}Last updated
Was this helpful?