2

For example if I want to register three TLD domains:

example1.eth

example2.eth

example3.eth

Can I make one startAuctionAndBid transaction for all three?

1 Answer 1

0

Can I make one startAuctionAndBid transaction for all three?

Yes, but it's called startAuctionsAndBid (note the extra s):

Here is the Solidity version of the contract method, as a reference for how to use it:

/**
 * @dev Start a set of auctions and bid on one of them
 *
 * This method functions identically to calling `startAuctions` followed by `newBid`,
 * but all in one transaction.
 *
 * @param hashes A list of hashes to start auctions on.
 * @param sealedBid A sealed bid for one of the auctions.
 */
function startAuctionsAndBid(bytes32[] hashes, bytes32 sealedBid) public payable {
    startAuctions(hashes);
    newBid(sealedBid);
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.