{
    "type": "object",
    "properties": {
        "transfers": {
            "type": "array",
            "items": {
                "$ref": "https://raw.githubusercontent.com/acrylplatform/acryl-transactions/master/src/schemas/IMassTransferParams.json#/definitions/IMassTransferItem<string|number>"
            }
        },
        "attachment": {
            "description": "Bytearray encoded as base string",
            "type": "string"
        },
        "assetId": {
            "type": [
                "null",
                "string"
            ]
        },
        "fee": {
            "description": "Transaction fee. If not set, fee will be calculated automatically",
            "$ref": "https://raw.githubusercontent.com/acrylplatform/acryl-transactions/master/src/schemas/IMassTransferParams.json#/definitions/LONG"
        },
        "additionalFee": {
            "description": "If fee is not set, this value will be added to automatically calculated fee. E.x.:\nAccount is scripted and 400000 fee more is required.",
            "type": "number"
        },
        "senderPublicKey": {
            "description": "If not set, public key will be derived from seed phrase. You should provide senderPublicKey in two cases:\n1. Account, from which this tx should be sent, differs from tx signer. E.g., we have smart account that requires 2 signatures.\n2. You to create tx without proof. Therefore no seed is provided.",
            "type": "string"
        },
        "timestamp": {
            "description": "Transaction timestamp. If not set current timestamp will be used. Date.now()",
            "type": "number"
        }
    },
    "required": [
        "transfers"
    ],
    "definitions": {
        "IMassTransferItem<string|number>": {
            "type": "object",
            "properties": {
                "recipient": {
                    "type": "string"
                },
                "amount": {
                    "type": [
                        "string",
                        "number"
                    ]
                }
            },
            "required": [
                "amount",
                "recipient"
            ]
        },
        "LONG": {
            "type": [
                "number"
            ]
        }
    },
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://raw.githubusercontent.com/acrylplatform/acryl-transactions/master/src/schemas/IMassTransferParams.json"
}
