Contract input wallet, you can check how much money is available before deciding whether to participate.