@aeternity/aepp-sdk
Version:
SDK for the æternity blockchain
2,072 lines • 222 kB
JavaScript
export const PathsBx0Ya3V3AccountsAccountidActivitiesGetResponses200ContentApplicationJsonSchemaAllof0 = {
type: {
name: "Composite",
className: "PathsBx0Ya3V3AccountsAccountidActivitiesGetResponses200ContentApplicationJsonSchemaAllof0",
modelProperties: {
data: {
serializedName: "data",
required: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "Activity"
}
}
}
}
}
}
};
export const Activity = {
type: {
name: "Composite",
className: "Activity",
modelProperties: {
blockHash: {
constraints: {
Pattern: new RegExp("^mh_\\w{38,50}$")
},
serializedName: "block_hash",
required: true,
type: {
name: "String"
}
},
blockTime: {
serializedName: "block_time",
required: true,
type: {
name: "UnixTime"
}
},
height: {
serializedName: "height",
required: true,
type: {
name: "Number"
}
},
type: {
serializedName: "type",
required: true,
type: {
name: "Enum",
allowedValues: ["SpendTxEvent", "OracleRegisterTxEvent", "OracleExtendTxEvent", "OracleQueryTxEvent", "OracleResponseTxEvent", "NamePreclaimTxEvent", "NameClaimTxEvent", "NameTransferTxEvent", "NameUpdateTxEvent", "NameRevokeTxEvent", "ContractCreateTxEvent", "ContractCallTxEvent", "GaAttachTxEvent", "GaMetaTxEvent", "ChannelCreateTxEvent", "ChannelDepositTxEvent", "ChannelWithdrawTxEvent", "ChannelForceProgressTxEvent", "ChannelCloseMutualTxEvent", "ChannelCloseSoloTxEvent", "ChannelSlashTxEvent", "ChannelSettleTxEvent", "ChannelSnapshotSoloTxEvent", "ChannelSetDelegatesTxEvent", "ChannelOffchainTxEvent", "ChannelClientReconnectTxEvent", "PayingForTxEvent"]
}
},
payload: {
serializedName: "payload",
type: {
name: "Composite",
className: "ActivityPayload"
}
}
}
}
};
export const ActivityPayload = {
type: {
name: "Composite",
className: "ActivityPayload",
modelProperties: {
blockHash: {
constraints: {
Pattern: new RegExp("^mh_\\w{38,50}$")
},
serializedName: "block_hash",
type: {
name: "String"
}
},
blockHeight: {
serializedName: "block_height",
type: {
name: "Number"
}
},
encodedTx: {
constraints: {
Pattern: new RegExp("^tx_\\w+$")
},
serializedName: "encoded_tx",
type: {
name: "String"
}
},
hash: {
constraints: {
Pattern: new RegExp("^th_\\w{38,50}$")
},
serializedName: "hash",
type: {
name: "String"
}
},
microIndex: {
serializedName: "micro_index",
type: {
name: "Number"
}
},
microTime: {
serializedName: "micro_time",
type: {
name: "UnixTime"
}
},
signatures: {
serializedName: "signatures",
type: {
name: "Sequence",
element: {
constraints: {
Pattern: new RegExp("^sg_\\w+$")
},
type: {
name: "String"
}
}
}
},
tx: {
serializedName: "tx",
type: {
name: "Composite",
className: "Tx"
}
},
amount: {
serializedName: "amount",
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
contractId: {
constraints: {
Pattern: new RegExp("^ct_\\w{38,50}$")
},
serializedName: "contract_id",
type: {
name: "String"
}
},
logIdx: {
serializedName: "log_idx",
type: {
name: "Number"
}
},
recipientId: {
constraints: {
Pattern: new RegExp("^ak_\\w{38,50}$")
},
serializedName: "recipient_id",
type: {
name: "String"
}
},
senderId: {
constraints: {
Pattern: new RegExp("^ak_\\w{38,50}$")
},
serializedName: "sender_id",
type: {
name: "String"
}
},
txHash: {
constraints: {
Pattern: new RegExp("^th_\\w{38,50}$")
},
serializedName: "tx_hash",
type: {
name: "String"
}
},
recipient: {
constraints: {
Pattern: new RegExp("^ak_\\w{38,50}$")
},
serializedName: "recipient",
type: {
name: "String"
}
},
sender: {
constraints: {
Pattern: new RegExp("^ak_\\w{38,50}$")
},
serializedName: "sender",
type: {
name: "String"
}
},
tokenId: {
serializedName: "token_id",
type: {
name: "Number"
}
},
contractTxHash: {
constraints: {
Pattern: new RegExp("^th_\\w{38,50}$")
},
serializedName: "contract_tx_hash",
type: {
name: "String"
}
},
callTxHash: {
constraints: {
Pattern: new RegExp("^th_\\w{38,50}$")
},
serializedName: "call_tx_hash",
type: {
name: "String"
}
},
function: {
serializedName: "function",
type: {
name: "String"
}
},
internalTx: {
serializedName: "internal_tx",
type: {
name: "Dictionary",
value: {
type: {
name: "any"
}
}
}
},
height: {
serializedName: "height",
type: {
name: "Number"
}
},
kind: {
serializedName: "kind",
type: {
name: "Enum",
allowedValues: ["accounts_extra_lima", "accounts_fortuna", "accounts_genesis", "accounts_lima", "accounts_minerva", "contracts_lima", "reward_dev", "reward_block", "fee_refund_oracle", "fee_lock_name", "fee_refund_name", "fee_spend_name", "reward_oracle"]
}
},
refTxHash: {
constraints: {
Pattern: new RegExp("^th_\\w{38,50}$")
},
serializedName: "ref_tx_hash",
type: {
name: "String"
}
}
}
}
};
export const Tx = {
type: {
name: "Composite",
className: "Tx",
modelProperties: {
recipientId: {
serializedName: "recipient_id",
type: {
name: "String"
}
},
amount: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "amount",
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
fee: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "fee",
required: true,
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
ttl: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "ttl",
type: {
name: "Number"
}
},
senderId: {
serializedName: "sender_id",
type: {
name: "String"
}
},
nonce: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "nonce",
type: {
name: "Number"
}
},
payload: {
serializedName: "payload",
type: {
name: "String"
}
},
initiatorId: {
serializedName: "initiator_id",
type: {
name: "String"
}
},
initiatorAmount: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "initiator_amount",
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
responderId: {
serializedName: "responder_id",
type: {
name: "String"
}
},
responderAmount: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "responder_amount",
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
channelReserve: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "channel_reserve",
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
lockPeriod: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "lock_period",
type: {
name: "Number"
}
},
stateHash: {
serializedName: "state_hash",
type: {
name: "String"
}
},
delegateIds: {
serializedName: "delegate_ids",
type: {
name: "Composite",
className: "Delegates"
}
},
channelId: {
serializedName: "channel_id",
type: {
name: "String"
}
},
fromId: {
serializedName: "from_id",
type: {
name: "String"
}
},
round: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "round",
type: {
name: "Number"
}
},
toId: {
serializedName: "to_id",
type: {
name: "String"
}
},
update: {
serializedName: "update",
type: {
name: "Composite",
className: "OffChainUpdate"
}
},
offchainTrees: {
serializedName: "offchain_trees",
type: {
name: "String"
}
},
initiatorAmountFinal: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "initiator_amount_final",
type: {
name: "Number"
}
},
responderAmountFinal: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "responder_amount_final",
type: {
name: "Number"
}
},
poi: {
serializedName: "poi",
type: {
name: "String"
}
},
initiatorDelegateIds: {
serializedName: "initiator_delegate_ids",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
},
responderDelegateIds: {
serializedName: "responder_delegate_ids",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
},
queryFormat: {
serializedName: "query_format",
type: {
name: "String"
}
},
responseFormat: {
serializedName: "response_format",
type: {
name: "String"
}
},
queryFee: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "query_fee",
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
oracleTtl: {
serializedName: "oracle_ttl",
type: {
name: "Composite",
className: "RelativeTTL"
}
},
accountId: {
serializedName: "account_id",
type: {
name: "String"
}
},
abiVersion: {
constraints: {
InclusiveMaximum: 65535,
InclusiveMinimum: 0
},
serializedName: "abi_version",
type: {
name: "Number"
}
},
oracleId: {
serializedName: "oracle_id",
type: {
name: "String"
}
},
query: {
serializedName: "query",
type: {
name: "String"
}
},
queryTtl: {
serializedName: "query_ttl",
type: {
name: "Composite",
className: "Ttl"
}
},
responseTtl: {
serializedName: "response_ttl",
type: {
name: "Composite",
className: "RelativeTTL"
}
},
queryId: {
serializedName: "query_id",
type: {
name: "String"
}
},
response: {
serializedName: "response",
type: {
name: "String"
}
},
commitmentId: {
serializedName: "commitment_id",
type: {
name: "String"
}
},
name: {
serializedName: "name",
type: {
name: "String"
}
},
nameSalt: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "name_salt",
type: {
name: "Number"
}
},
nameFee: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "name_fee",
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
nameId: {
serializedName: "name_id",
type: {
name: "String"
}
},
nameTtl: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "name_ttl",
type: {
name: "Number"
}
},
pointers: {
serializedName: "pointers",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "NamePointer"
}
}
}
},
clientTtl: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "client_ttl",
type: {
name: "Number"
}
},
ownerId: {
serializedName: "owner_id",
type: {
name: "String"
}
},
code: {
serializedName: "code",
type: {
name: "String"
}
},
vmVersion: {
constraints: {
InclusiveMaximum: 65535,
InclusiveMinimum: 0
},
serializedName: "vm_version",
type: {
name: "Number"
}
},
deposit: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "deposit",
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
gas: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "gas",
type: {
name: "Number"
}
},
gasPrice: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "gas_price",
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
callData: {
serializedName: "call_data",
type: {
name: "String"
}
},
callerId: {
serializedName: "caller_id",
type: {
name: "String"
}
},
contractId: {
serializedName: "contract_id",
type: {
name: "String"
}
},
authFun: {
constraints: {
Pattern: new RegExp("^(0x|0X)?[a-fA-F0-9]+$")
},
serializedName: "auth_fun",
type: {
name: "String"
}
},
gaId: {
serializedName: "ga_id",
type: {
name: "String"
}
},
authData: {
serializedName: "auth_data",
type: {
name: "String"
}
},
tx: {
serializedName: "tx",
type: {
name: "Composite",
className: "SignedTx"
}
},
payerId: {
serializedName: "payer_id",
type: {
name: "String"
}
},
version: {
constraints: {
InclusiveMaximum: 4294967295,
InclusiveMinimum: 0
},
serializedName: "version",
required: true,
type: {
name: "Number"
}
},
type: {
serializedName: "type",
required: true,
type: {
name: "Enum",
allowedValues: ["SpendTx", "ChannelCreateTx", "ChannelDepositTx", "ChannelWithdrawTx", "ChannelForceProgressTx", "ChannelCloseMutualTx", "ChannelCloseSoloTx", "ChannelSlashTx", "ChannelSettleTx", "ChannelSnapshotSoloTx", "ChannelSetDelegatesTx", "OracleRegisterTx", "OracleExtendTx", "OracleQueryTx", "OracleRespondTx", "NamePreclaimTx", "NameClaimTx", "NameUpdateTx", "NameTransferTx", "NameRevokeTx", "ContractCreateTx", "ContractCallTx", "GAAttachTx", "GAMetaTx", "PayingForTx"]
}
}
}
}
};
export const Delegates = {
type: {
name: "Composite",
className: "Delegates",
modelProperties: {
initiator: {
serializedName: "initiator",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
},
responder: {
serializedName: "responder",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
}
}
}
};
export const OffChainUpdate = {
serializedName: "OffChainUpdate",
type: {
name: "Composite",
className: "OffChainUpdate",
uberParent: "OffChainUpdate",
polymorphicDiscriminator: {
serializedName: "op",
clientName: "op"
},
modelProperties: {
op: {
serializedName: "op",
required: true,
type: {
name: "String"
}
}
}
}
};
export const RelativeTTL = {
type: {
name: "Composite",
className: "RelativeTTL",
modelProperties: {
type: {
defaultValue: "delta",
isConstant: true,
serializedName: "type",
type: {
name: "String"
}
},
value: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "value",
required: true,
type: {
name: "Number"
}
}
}
}
};
export const Ttl = {
type: {
name: "Composite",
className: "Ttl",
modelProperties: {
type: {
serializedName: "type",
required: true,
type: {
name: "Enum",
allowedValues: ["delta", "block"]
}
},
value: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "value",
required: true,
type: {
name: "Number"
}
}
}
}
};
export const NamePointer = {
type: {
name: "Composite",
className: "NamePointer",
modelProperties: {
key: {
serializedName: "key",
required: true,
type: {
name: "String"
}
},
encodedKey: {
serializedName: "encoded_key",
type: {
name: "String"
}
},
id: {
serializedName: "id",
required: true,
type: {
name: "String"
}
}
}
}
};
export const SignedTx = {
type: {
name: "Composite",
className: "SignedTx",
modelProperties: {
tx: {
serializedName: "tx",
type: {
name: "Composite",
className: "Tx"
}
},
blockHeight: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: -1
},
serializedName: "block_height",
type: {
name: "Number"
}
},
blockHash: {
serializedName: "block_hash",
type: {
name: "String"
}
},
hash: {
serializedName: "hash",
type: {
name: "String"
}
},
encodedTx: {
serializedName: "encoded_tx",
type: {
name: "String"
}
},
signatures: {
serializedName: "signatures",
type: {
name: "Sequence",
element: {
type: {
name: "String"
}
}
}
}
}
}
};
export const PaginatedResponse = {
type: {
name: "Composite",
className: "PaginatedResponse",
modelProperties: {
next: {
serializedName: "next",
required: true,
nullable: true,
type: {
name: "String"
}
},
prev: {
serializedName: "prev",
required: true,
nullable: true,
type: {
name: "String"
}
}
}
}
};
export const ErrorResponse = {
type: {
name: "Composite",
className: "ErrorResponse",
modelProperties: {
error: {
serializedName: "error",
required: true,
type: {
name: "String"
}
}
}
}
};
export const Paths1Q9E32FV3AccountsAccountidAex141TokensGetResponses200ContentApplicationJsonSchemaAllof0 = {
type: {
name: "Composite",
className: "Paths1Q9E32FV3AccountsAccountidAex141TokensGetResponses200ContentApplicationJsonSchemaAllof0",
modelProperties: {
data: {
serializedName: "data",
required: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "Aex141TokenResponse"
}
}
}
}
}
}
};
export const Aex141TokenResponse = {
type: {
name: "Composite",
className: "Aex141TokenResponse",
modelProperties: {
contractId: {
constraints: {
Pattern: new RegExp("^ct_\\w{38,50}$")
},
serializedName: "contract_id",
required: true,
type: {
name: "String"
}
},
ownerId: {
constraints: {
Pattern: new RegExp("^ak_\\w{38,50}$")
},
serializedName: "owner_id",
type: {
name: "String"
}
},
tokenId: {
serializedName: "token_id",
required: true,
type: {
name: "Number"
}
}
}
}
};
export const PathsZ92TkfV3AccountsAccountidAex9BalancesGetResponses200ContentApplicationJsonSchemaAllof1 = {
type: {
name: "Composite",
className: "PathsZ92TkfV3AccountsAccountidAex9BalancesGetResponses200ContentApplicationJsonSchemaAllof1",
modelProperties: {
data: {
serializedName: "data",
required: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "Aex9BalanceResponse"
}
}
}
}
}
}
};
export const Aex9BalanceResponse = {
type: {
name: "Composite",
className: "Aex9BalanceResponse",
modelProperties: {
amount: {
serializedName: "amount",
required: true,
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
blockHash: {
serializedName: "block_hash",
required: true,
type: {
name: "Number"
}
},
contractId: {
constraints: {
Pattern: new RegExp("^ct_\\w{38,50}$")
},
serializedName: "contract_id",
required: true,
type: {
name: "String"
}
},
decimals: {
serializedName: "decimals",
required: true,
type: {
name: "Number"
}
},
height: {
serializedName: "height",
required: true,
type: {
name: "Number"
}
},
tokenName: {
serializedName: "token_name",
required: true,
type: {
name: "String"
}
},
tokenSymbol: {
serializedName: "token_symbol",
required: true,
type: {
name: "String"
}
},
txHash: {
constraints: {
Pattern: new RegExp("^th_\\w{38,50}$")
},
serializedName: "tx_hash",
required: true,
type: {
name: "String"
}
},
txIndex: {
serializedName: "tx_index",
required: true,
type: {
name: "Number"
}
},
txType: {
serializedName: "tx_type",
required: true,
type: {
name: "String"
}
}
}
}
};
export const Paths10R8Q7PV3AccountsAccountidDexSwapsGetResponses200ContentApplicationJsonSchemaAllof0 = {
type: {
name: "Composite",
className: "Paths10R8Q7PV3AccountsAccountidDexSwapsGetResponses200ContentApplicationJsonSchemaAllof0",
modelProperties: {
data: {
serializedName: "data",
required: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "DexSwap"
}
}
}
}
}
}
};
export const DexSwap = {
type: {
name: "Composite",
className: "DexSwap",
modelProperties: {
amounts: {
serializedName: "amounts",
type: {
name: "Composite",
className: "DexSwapAmounts"
}
},
action: {
serializedName: "action",
required: true,
type: {
name: "Enum",
allowedValues: ["SWAP", "BUY", "SELL"]
}
},
caller: {
constraints: {
Pattern: new RegExp("^ak_\\w{38,50}$")
},
serializedName: "caller",
required: true,
type: {
name: "String"
}
},
fromToken: {
serializedName: "from_token",
required: true,
type: {
name: "String"
}
},
toToken: {
serializedName: "to_token",
required: true,
type: {
name: "String"
}
},
logIdx: {
serializedName: "log_idx",
required: true,
type: {
name: "Number"
}
},
toAccount: {
constraints: {
Pattern: new RegExp("^ak_\\w{38,50}$")
},
serializedName: "to_account",
required: true,
type: {
name: "String"
}
},
txHash: {
constraints: {
Pattern: new RegExp("^th_\\w{38,50}$")
},
serializedName: "tx_hash",
required: true,
type: {
name: "String"
}
},
fromContract: {
constraints: {
Pattern: new RegExp("^ct_\\w{38,50}$")
},
serializedName: "from_contract",
required: true,
type: {
name: "String"
}
},
toContract: {
constraints: {
Pattern: new RegExp("^ct_\\w{38,50}$")
},
serializedName: "to_contract",
required: true,
type: {
name: "String"
}
},
fromAmount: {
serializedName: "from_amount",
required: true,
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
toAmount: {
serializedName: "to_amount",
required: true,
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
fromDecimals: {
serializedName: "from_decimals",
required: true,
type: {
name: "Number"
}
},
toDecimals: {
serializedName: "to_decimals",
required: true,
type: {
name: "Number"
}
},
microTime: {
serializedName: "micro_time",
required: true,
type: {
name: "UnixTime"
}
},
height: {
serializedName: "height",
required: true,
type: {
name: "Number"
}
}
}
}
};
export const DexSwapAmounts = {
type: {
name: "Composite",
className: "DexSwapAmounts",
modelProperties: {
amount0In: {
serializedName: "amount0_in",
required: true,
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
amount1In: {
serializedName: "amount1_in",
required: true,
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
amount0Out: {
serializedName: "amount0_out",
required: true,
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
amount1Out: {
serializedName: "amount1_out",
required: true,
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
}
}
}
};
export const Paths16G4GzrV3AccountsAccountidNamesClaimsGetResponses200ContentApplicationJsonSchemaAllof0 = {
type: {
name: "Composite",
className: "Paths16G4GzrV3AccountsAccountidNamesClaimsGetResponses200ContentApplicationJsonSchemaAllof0",
modelProperties: {
data: {
serializedName: "data",
required: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "NameClaim"
}
}
}
}
}
}
};
export const NameClaim = {
type: {
name: "Composite",
className: "NameClaim",
modelProperties: {
activeFrom: {
serializedName: "active_from",
required: true,
type: {
name: "Number"
}
},
sourceTxHash: {
constraints: {
Pattern: new RegExp("^th_\\w{38,50}$")
},
serializedName: "source_tx_hash",
required: true,
type: {
name: "String"
}
},
sourceTxType: {
serializedName: "source_tx_type",
required: true,
type: {
name: "String"
}
},
blockHash: {
constraints: {
Pattern: new RegExp("^mh_\\w{38,50}$")
},
serializedName: "block_hash",
required: true,
type: {
name: "String"
}
},
height: {
serializedName: "height",
required: true,
type: {
name: "Number"
}
},
tx: {
serializedName: "tx",
type: {
name: "Composite",
className: "NameClaimTx"
}
},
internalSource: {
serializedName: "internal_source",
type: {
name: "Boolean"
}
}
}
}
};
export const NameClaimTx = {
type: {
name: "Composite",
className: "NameClaimTx",
modelProperties: {
name: {
serializedName: "name",
required: true,
type: {
name: "String"
}
},
nameSalt: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "name_salt",
required: true,
type: {
name: "Number"
}
},
nameFee: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "name_fee",
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
fee: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "fee",
required: true,
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
ttl: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "ttl",
type: {
name: "Number"
}
},
accountId: {
serializedName: "account_id",
required: true,
type: {
name: "String"
}
},
nonce: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "nonce",
type: {
name: "Number"
}
}
}
}
};
export const NotFoundResponse = {
type: {
name: "Composite",
className: "NotFoundResponse",
modelProperties: {
error: {
serializedName: "error",
required: true,
type: {
name: "String"
}
}
}
}
};
export const PathsA60QxwV3AccountsAccountidNamesPointeesGetResponses200ContentApplicationJsonSchemaAllof0 = {
type: {
name: "Composite",
className: "PathsA60QxwV3AccountsAccountidNamesPointeesGetResponses200ContentApplicationJsonSchemaAllof0",
modelProperties: {
data: {
serializedName: "data",
required: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "Pointee"
}
}
}
}
}
}
};
export const Pointee = {
type: {
name: "Composite",
className: "Pointee",
modelProperties: {
active: {
serializedName: "active",
required: true,
type: {
name: "Boolean"
}
},
name: {
constraints: {
Pattern: new RegExp("^\\w+\\.chain$")
},
serializedName: "name",
required: true,
type: {
name: "String"
}
},
key: {
serializedName: "key",
required: true,
type: {
name: "String"
}
},
blockHash: {
constraints: {
Pattern: new RegExp("^mh_\\w{38,50}$")
},
serializedName: "block_hash",
required: true,
type: {
name: "String"
}
},
tx: {
serializedName: "tx",
type: {
name: "Composite",
className: "NameUpdateTx"
}
},
sourceTxType: {
serializedName: "source_tx_type",
required: true,
type: {
name: "String"
}
},
sourceTxHash: {
constraints: {
Pattern: new RegExp("^th_\\w{38,50}$")
},
serializedName: "source_tx_hash",
required: true,
type: {
name: "String"
}
},
blockHeight: {
serializedName: "block_height",
required: true,
type: {
name: "Number"
}
},
blockTime: {
serializedName: "block_time",
required: true,
type: {
name: "UnixTime"
}
}
}
}
};
export const NameUpdateTx = {
type: {
name: "Composite",
className: "NameUpdateTx",
modelProperties: {
nameId: {
serializedName: "name_id",
required: true,
type: {
name: "String"
}
},
nameTtl: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "name_ttl",
required: true,
type: {
name: "Number"
}
},
pointers: {
serializedName: "pointers",
required: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "NamePointer"
}
}
}
},
clientTtl: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "client_ttl",
required: true,
type: {
name: "Number"
}
},
fee: {
constraints: {
InclusiveMinimum: 0
},
serializedName: "fee",
required: true,
type: {
// @ts-expect-error we are extending autorest with BigInt support
name: "BigInt"
}
},
ttl: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "ttl",
type: {
name: "Number"
}
},
accountId: {
serializedName: "account_id",
required: true,
type: {
name: "String"
}
},
nonce: {
constraints: {
InclusiveMaximum: 18446744073709552000,
InclusiveMinimum: 0
},
serializedName: "nonce",
type: {
name: "Number"
}
}
}
}
};
export const PathsXcg812V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchema = {
type: {
name: "Composite",
className: "PathsXcg812V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchema",
modelProperties: {
contractCreateTx: {
serializedName: "contract_create_tx",
type: {
name: "Composite",
className: "Get200ApplicationJsonProperties"
}
},
contractCallTx: {
serializedName: "contract_call_tx",
type: {
name: "Composite",
className: "PathsEvgmfsV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesContractCallTx"
}
},
gaAttachTx: {
serializedName: "ga_attach_tx",
type: {
name: "Composite",
className: "Paths1Mat0BzV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesGaAttachTx"
}
},
gaMetaTx: {
serializedName: "ga_meta_tx",
type: {
name: "Composite",
className: "Paths1Smy8TV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesGaMetaTx"
}
},
channelCloseMutualTx: {
serializedName: "channel_close_mutual_tx",
type: {
name: "Composite",
className: "PathsTachlnV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCloseMutualTx"
}
},
channelCloseSoloTx: {
serializedName: "channel_close_solo_tx",
type: {
name: "Composite",
className: "Paths1AeqodeV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCloseSoloTx"
}
},
channelCreateTx: {
serializedName: "channel_create_tx",
type: {
name: "Composite",
className: "PathsGp6EyrV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCreateTx"
}
},
channelDepositTx: {
serializedName: "channel_deposit_tx",
type: {
name: "Composite",
className: "Paths10Z6Jt8V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelDepositTx"
}
},
channelForceProgressTx: {
serializedName: "channel_force_progress_tx",
type: {
name: "Composite",
className: "Paths1Jkl3L3V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelForceProgressTx"
}
},
channelSetDelegatesTx: {
serializedName: "channel_set_delegates_tx",
type: {
name: "Composite",
className: "PathsN9Iv8YV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSetDelegatesTx"
}
},
channelSettleTx: {
serializedName: "channel_settle_tx",
type: {
name: "Composite",
className: "PathsCsym65V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSettleTx"
}
},
channelSlashTx: {
serializedName: "channel_slash_tx",
type: {
name: "Composite",
className: "PathsEwav40V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSlashTx"
}
},
channelSnapshotSoloTx: {
serializedName: "channel_snapshot_solo_tx",
type: {
name: "Composite",
className: "Paths5Ehb0PV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelSnapshotSoloTx"
}
},
channelWithdrawTx: {
serializedName: "channel_withdraw_tx",
type: {
name: "Composite",
className: "Paths1Qk8BkgV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelWithdrawTx"
}
},
nameClaimTx: {
serializedName: "name_claim_tx",
type: {
name: "Composite",
className: "PathsC7WhtoV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameClaimTx"
}
},
namePreclaimTx: {
serializedName: "name_preclaim_tx",
type: {
name: "Composite",
className: "Paths1R4Z885V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNamePreclaimTx"
}
},
nameRevokeTx: {
serializedName: "name_revoke_tx",
type: {
name: "Composite",
className: "PathsKrpz02V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameRevokeTx"
}
},
nameTransferTx: {
serializedName: "name_transfer_tx",
type: {
name: "Composite",
className: "PathsPs07B4V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameTransferTx"
}
},
nameUpdateTx: {
serializedName: "name_update_tx",
type: {
name: "Composite",
className: "PathsTug6HrV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesNameUpdateTx"
}
},
oracleExtendTx: {
serializedName: "oracle_extend_tx",
type: {
name: "Composite",
className: "Paths17Dchb7V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleExtendTx"
}
},
oracleQueryTx: {
serializedName: "oracle_query_tx",
type: {
name: "Composite",
className: "Paths1Ngkd7FV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleQueryTx"
}
},
oracleRegisterTx: {
serializedName: "oracle_register_tx",
type: {
name: "Composite",
className: "PathsMvqgifV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleRegisterTx"
}
},
oracleResponseTx: {
serializedName: "oracle_response_tx",
type: {
name: "Composite",
className: "Paths1U2Ve7RV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesOracleResponseTx"
}
},
payingForTx: {
serializedName: "paying_for_tx",
type: {
name: "Composite",
className: "Paths1N757S0V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesPayingForTx"
}
},
spendTx: {
serializedName: "spend_tx",
type: {
name: "Composite",
className: "Paths11Bqs5V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesSpendTx"
}
},
channelOffchainTx: {
serializedName: "channel_offchain_tx",
type: {
name: "Composite",
className: "Paths4Pjk8DV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelOffchainTx"
}
},
total: {
serializedName: "total",
required: true,
type: {
name: "Number"
}
}
}
}
};
export const Get200ApplicationJsonProperties = {
type: {
name: "Composite",
className: "Get200ApplicationJsonProperties",
modelProperties: {
ownerId: {
serializedName: "owner_id",
type: {
name: "Number"
}
}
}
}
};
export const PathsEvgmfsV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesContractCallTx = {
type: {
name: "Composite",
className: "PathsEvgmfsV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesContractCallTx",
modelProperties: {
contractId: {
serializedName: "contract_id",
type: {
name: "Number"
}
},
callerId: {
serializedName: "caller_id",
type: {
name: "Number"
}
}
}
}
};
export const Paths1Mat0BzV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesGaAttachTx = {
type: {
name: "Composite",
className: "Paths1Mat0BzV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesGaAttachTx",
modelProperties: {
ownerId: {
serializedName: "owner_id",
type: {
name: "Number"
}
}
}
}
};
export const Paths1Smy8TV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesGaMetaTx = {
type: {
name: "Composite",
className: "Paths1Smy8TV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesGaMetaTx",
modelProperties: {
gaId: {
serializedName: "ga_id",
type: {
name: "Number"
}
}
}
}
};
export const PathsTachlnV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCloseMutualTx = {
type: {
name: "Composite",
className: "PathsTachlnV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCloseMutualTx",
modelProperties: {
channelId: {
serializedName: "channel_id",
type: {
name: "Number"
}
},
fromId: {
serializedName: "from_id",
type: {
name: "Number"
}
}
}
}
};
export const Paths1AeqodeV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCloseSoloTx = {
type: {
name: "Composite",
className: "Paths1AeqodeV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCloseSoloTx",
modelProperties: {
channelId: {
serializedName: "channel_id",
type: {
name: "Number"
}
},
fromId: {
serializedName: "from_id",
type: {
name: "Number"
}
}
}
}
};
export const PathsGp6EyrV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCreateTx = {
type: {
name: "Composite",
className: "PathsGp6EyrV3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelCreateTx",
modelProperties: {
initiatorId: {
serializedName: "initiator_id",
type: {
name: "Number"
}
},
responderId: {
serializedName: "responder_id",
type: {
name: "Number"
}
}
}
}
};
export const Paths10Z6Jt8V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelDepositTx = {
type: {
name: "Composite",
className: "Paths10Z6Jt8V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelDepositTx",
modelProperties: {
channelId: {
serializedName: "channel_id",
type: {
name: "Number"
}
},
fromId: {
serializedName: "from_id",
type: {
name: "Number"
}
}
}
}
};
export const Paths1Jkl3L3V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelForceProgressTx = {
type: {
name: "Composite",
className: "Paths1Jkl3L3V3AccountsAccountidTransactionsCountGetResponses200ContentApplicationJsonSchemaPropertiesChannelForceProgressTx",
modelProperties: {
channelId: {
serializedName: "channel_id",
type: {
name: "Number"
}
},
fromId: {
serializedName: "from_id",
type: {
name: "Number"
}
}
}
}
};
export const PathsN9Iv8YV3AccountsAccountidTransactionsCount