public function toArray(): array
    {
        return array_filter([
            'amount'          => $this->amount,
            'asset'           => $this->asset ?? null,
            'fee'             => $this->fee,
            'id'              => $this->id,
            'network'         => $this->network ?? Network::get()->version(),
            'recipientId'     => $this->recipientId ?? null,
            'secondSignature' => $this->secondSignature ?? null,
            'senderPublicKey' => $this->senderPublicKey,
            'signature'       => $this->signature,
            'signatures'      => $this->signatures ?? null,
            'signSignature'   => $this->signSignature ?? null,
            'timestamp'       => $this->timestamp,
            'type'            => $this->type,
            'vendorField'     => $this->vendorField ?? null,
            'version'         => $this->version ?? 1,
        ], function ($element) {
            if (null !== $element) {
                return true;
            }

            return false;
        });
    }