addedOutput schema / anyOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "$ref": "#/properties/data"
+ },
+ "pagination": {
+ "$ref": "#/properties/pagination"
+ },
+ "resultType": {
+ "const": "rawTransactionList",
+ "type": "string"
+ }
+ },
+ "required": [
+ "data",
+ "pagination",
+ "resultType"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "blockHeight": {
+ "$ref": "#/properties/blockHeight"
+ },
+ "details": {
+ "$ref": "#/properties/details"
+ },
+ "hash": {
+ "$ref": "#/properties/hash"
+ },
+ "id": {
+ "$ref": "#/properties/id"
+ },
+ "memo": {
+ "$ref": "#/properties/memo"
+ },
+ "processingState": {
+ "$ref": "#/properties/processingState"
+ },
+ "resultType": {
+ "const": "rawTransaction",
+ "type": "string"
+ },
+ "timestamp": {
+ "$ref": "#/properties/timestamp"
+ },
+ "wallet": {
+ "$ref": "#/properties/wallet"
+ },
+ "walletOperations": {
+ "$ref": "#/properties/walletOperations"
+ }
+ },
+ "required": [
+ "id",
+ "wallet",
+ "hash",
+ "blockHeight",
+ "timestamp",
+ "processingState",
+ "walletOperations",
+ "resultType"
+ ],
+ "type": "object"
+ }
+]
addedOutput schema / properties / walletOperations
Added value: +{
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "defi": {
+ "additionalProperties": false,
+ "properties": {
+ "operation": {
+ "anyOf": [
+ {
+ "const": "PROTOCOL_DEPOSIT",
+ "type": "string"
+ },
+ {
+ "const": "PROTOCOL_WITHDRAW",
+ "type": "string"
+ },
+ {
+ "const": "VAULT_DEPOSIT",
+ "type": "string"
+ },
+ {
+ "const": "VAULT_WITHDRAW",
+ "type": "string"
+ },
+ {
+ "const": "SWAP",
+ "type": "string"
+ },
+ {
+ "const": "PROVIDE_LIQUIDITY",
+ "type": "string"
+ },
+ {
+ "const": "REMOVE_LIQUIDITY",
+ "type": "string"
+ },
+ {
+ "const": "LEND",
+ "type": "string"
+ },
+ {
+ "const": "WITHDRAW_LEND",
+ "type": "string"
+ },
+ {
+ "const": "LEND_REDUCE",
+ "type": "string"
+ },
+ {
+ "const": "BORROW",
+ "type": "string"
+ },
+ {
+ "const": "REPAY",
+ "type": "string"
+ },
+ {
+ "const": "LOAN_LIQUIDATION",
+ "type": "string"
+ },
+ {
+ "const": "STAKE",
+ "type": "string"
+ },
+ {
+ "const": "UNSTAKE",
+ "type": "string"
+ },
+ {
+ "const": "CLAIM_REWARDS",
+ "type": "string"
+ }
+ ]
+ },
+ "positionRef": {
+ "type": "string"
+ },
+ "tokenRole": {
+ "anyOf": [
+ {
+ "const": "UNDERLYING",
+ "type": "string"
+ },
+ {
+ "const": "COLLATERAL",
+ "type": "string"
+ },
+ {
+ "const": "RECEIPT_TOKEN",
+ "type": "string"
+ },
+ {
+ "const": "LP_SHARE",
+ "type": "string"
+ },
+ {
+ "const": "LIABILITY_TOKEN",
+ "type": "string"
+ },
+ {
+ "const": "REWARD",
+ "type": "string"
+ },
+ {
+ "const": "OTHER",
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "from": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ },
+ "portfolioTransactionId": {
+ "type": "string"
+ },
+ "quote": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "type": "string"
+ },
+ "meta": {
+ "additionalProperties": false,
+ "properties": {
+ "s": {
+ "enum": [
+ "SYNC_SOURCE",
+ "FMV_ENGINE",
+ "DERIVED_REPRESENTED",
+ "DERIVED_SIBLING",
+ "POLICY",
+ "MANUAL"
+ ],
+ "type": "string"
+ },
+ "ts": {
+ "exclusiveMinimum": 0,
+ "maximum": 8210266876799,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "s"
+ ],
+ "type": "object"
+ },
+ "source": {
+ "type": "string"
+ },
+ "value": {
+ "pattern": "^-?\\d+(\\.\\d+)?$",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "to": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ },
+ "token": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "assetId": {
+ "type": "string"
+ },
+ "chainId": {
+ "type": "string"
+ },
+ "decimals": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "isSpam": {
+ "type": "boolean"
+ },
+ "representsTokenAddress": {
+ "type": "string"
+ },
+ "stablecoinPeggedFiatCurrency": {
+ "type": "string"
+ },
+ "symbol": {
+ "type": "string"
+ },
+ "type": {
+ "anyOf": [
+ {
+ "const": "ERC20",
+ "type": "string"
+ },
+ {
+ "const": "NATIVE",
+ "type": "string"
+ },
+ {
+ "const": "FIAT",
+ "type": "string"
+ },
+ {
+ "const": "NFT",
+ "type": "string"
+ },
+ {
+ "const": "REBASE_LST",
+ "type": "string"
+ },
+ {
+ "const": "INTEREST_BEARING",
+ "type": "string"
+ },
+ {
+ "const": "VALUE_ACCRUING",
+ "type": "string"
+ },
+ {
+ "const": "LP_SHARE",
+ "type": "string"
+ },
+ {
+ "const": "DEBT",
+ "type": "string"
+ },
+ {
+ "const": "REFLECT",
+ "type": "string"
+ },
+ {
+ "const": "VOTE_ESCROWED",
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "chainId",
+ "address",
+ "assetId",
+ "symbol",
+ "type",
+ "decimals",
+ "isSpam"
+ ],
+ "type": "object"
+ },
+ "txIndex": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": {
+ "enum": [
+ "IN",
+ "OUT",
+ "GAS",
+ "SELF"
+ ],
+ "type": "string"
+ },
+ "value": {
+ "pattern": "^-?\\d+(\\.\\d+)?$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "txIndex",
+ "type",
+ "from",
+ "to",
+ "token",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}