airdropNativeToken

Prepares a transaction to call the "airdropNativeToken" function on the contract.

Example

import { airdropNativeToken } from "thirdweb/extensions/airdrop";
const transaction = airdropNativeToken({
contract,
contents: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.