Asset query method and device for blockchain