Skip to main content
POST
Quote the realtime network fee for a generic execute

Authorizations

pid_access
string
cookie
required

JWT access token set by /auth/google/callback or /auth/refresh

Body

application/json
target
string
required

Target program (never the smart-account program)

metas
object[]
required
Required array length: 1 - 64 elements
data
string
required

base64url inner instruction data (length shapes the estimate; content is opaque)

Response

Fee quote

networkFeeLamports
string
required

Realtime network-cost estimate the backend will attest near

protocolFeeBps
integer
required

Fixed protocol percentage in bps for the quoted policy version

feePolicyVersion
integer
required

Fee-policy version the quote was computed under (must be signed)

totalFeeLamports
string
required

networkFee + protocolFee at quote time (informational)

chainTime
integer
required
treasury
string
required

Canonical revenue vault (informational — enforced on-chain)