sale.updated

For this websocket, the following events could be triggered:

  • The sale was deleted (the block was reverted)
  • The royalties breakdown is added (this can happen async post-sale)
  • The attribution is adjusted (marketplaces might use a new contract & we have to adjust new sales to them)
{
    "event": "sale.updated",
    "tags": {
        "contract": "0x4faab2f1851b58c26028ab7ba2873ff3c7b52d4c"
    },
    "data": {
        "id": "5fa7cd60782d9bc0adcdd67fc89886869f41ee30cf24af78701dde17a58d974b",
        "token": {
            "contract": "0x4faab2f1851b58c26028ab7ba2873ff3c7b52d4c",
            "tokenId": "1",
            "name": null,
            "image": null,
            "collection": {
                "id": null,
                "name": null
            }
        },
        "orderId": "0xb0eae933670ab31a7f9a986b2393474b2fd4a1e782792e1d2ce538d758568e80",
        "orderSource": "opensea.io",
        "orderSide": "ask",
        "orderKind": "seaport-v1.5",
        "from": "0xebe71b162c4fd6be6f07bf11b17d271c1087bd8b",
        "to": "0x05576aae1c7eeca6c674e8f74d3b50ef38fa08b6",
        "amount": "1",
        "fillSource": "opensea.io",
        "block": 17331794,
        "txHash": "0x20cd873b465edb4f6dcf08263e0f1fb3af54f0cab2fd318fdc73e3c1fea216a3",
        "logIndex": 681,
        "batchIndex": 1,
        "timestamp": 1684964699,
        "price": {
            "currency": {
                "contract": "0x0000000000000000000000000000000000000000",
                "name": "Ether",
                "symbol": "ETH",
                "decimals": 18
            },
            "amount": {
                "raw": "8000000000000000",
                "decimal": 0.008,
                "usd": 14.83354,
                "native": 0.008
            },
            "netAmount": {
                "raw": "7920000000000000",
                "decimal": 0.00792,
                "usd": 14.68521,
                "native": 0.00792
            }
        },
        "washTradingScore": 0,
        "royaltyFeeBps": 100,
        "paidFullRoyalty": true,
        "feeBreakdown": [{
            "kind": "royalty",
            "bps": 100,
            "recipient": "0x322ce12a36d48709cab5b4743f31d85db7b15b82"
        }],
        "createdAt": "2023-05-24T21:45:06.466Z",
        "updatedAt": "2023-05-24T21:45:53.947Z"
    },
    "published_at": 1684964754794,
    "type": "event",
    "status": "success"
}