Crypto rails

Smart contract

Also called: on-chain program, contract

A smart contract is code deployed on a blockchain that runs automatically when called. Tokens, NFT mints, swaps and account abstraction are all smart contracts, and a delivery of a token is a call to one. Contracts are immutable once deployed and execute exactly as written, which is both their strength and their risk. An on-ramp interacts with contracts on the user's behalf: transferring a token, minting an NFT, or funding a contract wallet. Each interaction costs network fees and can fail if the contract rejects it.

What the product owner decides

If your product delivers into a contract rather than a plain address, test that the contract accepts the provider's transfers. Contracts that reject incoming tokens cause unrecoverable failures.

Related terms

Questions

Can a delivery to a smart contract address fail?

Yes, if the contract does not accept the token or the call runs out of gas. Deliveries to plain wallet addresses do not have this risk.

Maintained by Transak. General explanations, not legal, tax or financial advice, and not an offer or inducement to buy or sell any crypto asset. Live prices and fees are always shown before you confirm.