ava-labs / avalanchejs

The Avalanche Platform JavaScript Library
Other
321 stars 164 forks source link

feat: add platform.getFeeState and update etna builder #879

Closed erictaylor closed 1 week ago

erictaylor commented 1 week ago

Adds support for platform.getFeeState. Adds platformFeeConfig to context. Updates Etna builder and related functions to take feeState to calculate the TX fee.